News for hackers. Stuff that matters.
Re:Why we don’t use a CDN: A story about SPDY and SSL (2014) by tombrossman on Thursday April 02, 2015 @05:26AM (#9309483)
Agree with the above comments about reducing bloat, and I'm surprised by the number of smart people who think nothing of setting up a Wordpress site with dozens of CSS and JS files.

I just spent 20 minutes trying to find a link to an Apache function I found recently, which will join all your CSS or JS files together with something like an @include server-side automatically. Can't find it now but as I have been doing this manually I hope I find it again. Anyone know what this is? I seem to recall it was a native Apache function, not part of mod_pagespeed.

Re:Why we don’t use a CDN: A story about SPDY and SSL (2014) by moehm on Thursday April 02, 2015 @06:04AM (#9309637)
Do you mean modconcat? [0] There is also a nginx version by Alibaba available. [1]

[0] https://code.google.com/p/modconcat/

[1] https://github.com/alibaba/nginx-http-concat

Re:Why we don’t use a CDN: A story about SPDY and SSL (2014) by tombrossman on Thursday April 02, 2015 @06:34AM (#9309768)
Nah, found that while searching for the other. I can probably use that, though. The one I'm thinking of had you putting a short instruction at the top of the file (like @include) if you wanted it to be part of the output file. Maybe I'm not remembering this correctly as I can find nothing on it now.
Re:Why we don’t use a CDN: A story about SPDY and SSL (2014) by e12e on Thursday April 02, 2015 @11:12AM (#9311134)
Server Side Includes? (mod_include for apache, mod_ssi for some others)? Not sure I'd recommend that as a general solution today -- for static sites I think you're better of building the static html, and serve that up. With varnish, you might want to look at edge-side includes.
Re:Why we don’t use a CDN: A story about SPDY and SSL (2014) by snowwrestler on Thursday April 02, 2015 @10:09AM (#9310761)
Wordpress has a number of caching plugins that will do this at the application layer.