News for hackers. Stuff that matters.
Re:Pelican static site generator 4.5 by vladvasiliu on Friday October 02, 2020 @09:21AM (#24662290)
I'm no hugo expert, but that's likely possible. After all, the JS files are static content. You can probably modify the theme's template to load the js from the origin.

I guess the whole point of using cloudflare as the cdn is so that people can reuse this from cache.

Re:Pelican static site generator 4.5 by ahelwer on Friday October 02, 2020 @09:29AM (#24662362)
That's an interesting trade-off. I guess static sites are small enough that downloading an extra script wouldn't be terrible, by modern heavyweight website standards. Still, maybe I should look into what cloudflare CDN actually does with its data.