especkman
Forum Replies Created
-
Well, technically, a single machine isn’t really a CDN (content distribution network). A CDN works by caching data at multiple locations near the “edge” of the Internet (ie at the clients ISP). This achieves two things, first it cuts the latency involved in serving assets, which contributes to better page rendering times, second, it takes load off the central server.
W3TC’s “CDN” functionality can also be leveraged to serve static assets off another server or hostname, which can still be useful but has some downsides as well.
On the upside, it allows you to utilize capacity from another server or host. In the past it was also useful in enabling more parallelism in filling requests for assets on a web page, but that is less of an advantage these days with HTTP chunking and pipelining. Another upside is that putting those assets on another hostname or an entirely different domain means that one can eliminate the overhead of cookies on requests and responses.
The main downside is that serving from a separate domain name or hostname means that the request for the assets involves an extra DNS lookup and extra round-trip times setting up the TCP connection. I’m sure there are numerous studies on front-end performance that examine the tradeoffs. I’d expect though that the overhead of using a separate hostname for static assets is offset by the reduced latency when using a CDN, an offset you won’t get using a single server.
Bottom line for you though: There probably isn’t a major difference between the two options you are considering unless your primary machine is limited by a bottleneck, but there may also be no advantage to splitting off your static assets.
Best bet is probably to experiment with a few different configurations.
Forum: Plugins
In reply to: [Developer] Error when installing plugins with DeveloperFor what it is worth, I had the same problem when trying to install these plugins from the Developer plugin page under tools on a multisite install under conditions where I couldn’t install any plugins from the webUI because the appropriate directories weren’t writable by the userID the webserver was running under.
Once I’d changed the directory permissions to the point where I could install plugins, this error in the Developer plugin went away.
Thanks for the clarification.
I’d worked with the original author of Scissors to automatically create resized versions of images that had already been placed in the editor. I’d hoped/expected that that functionality was part of what had been kept alive. If that is no longer the case, then this portion of the plugin description, carried over from the original scissors plugin, should probably be removed or adjusted to reflect the current functionality.
Additionally, images that are resized in the post editor are automatically resampled to the requested size using bilinear filtering when a post is saved, which improves the perceived image quality while reducing the amount of data transferred at the same time.
Thanks!