Re:Please stop using CDNs for external JavaScript libraries
by dheera on Sunday October 11, 2020 @11:11AM
(#24746296)
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.
[ Parent
| on HN ]
Re:Please stop using CDNs for external JavaScript libraries
by daveFNbuck on Sunday October 11, 2020 @12:36PM
(#24746985)
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.
Re:Please stop using CDNs for external JavaScript libraries
by oefrha on Sunday October 11, 2020 @11:35AM
(#24746470)
You’re probably thinking about a caching proxy like squid cache.
Re:Please stop using CDNs for external JavaScript libraries
by ex_amazon_sde on Sunday October 11, 2020 @02:44PM
(#24748013)