Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wonder if an nginx plugin could be made to auto-cache CDN javascript/css files and edit the HTML on the fly to serve them from locally.


You can set up a path that does a cached proxy to the CDN and just edit the HTML yourself. It's a bit annoying to get the cache settings to work properly, but editing the HTML is easy.


You’re probably thinking about a caching proxy like squid cache.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: