Hacker News new | ask | show | jobs
by sillysaurusx 2322 days ago
Hmm. If you stick it behind cloudflare, you might be able to leverage their caching. But I’m not sure how that works when the pages are dynamically generated.

You could also spit out the html to disk and just serve that behind nginx. Even on slow net, that might help.

Trying to think what else would scale...

1 comments

It's behind Cloudflare :). Images are also behind a CDN I made... which historically has reduced load times for me (but with this much traffic not so much).
Oh, that might be why. If you configure cloudflare to serve the images, that seems like it could help. It’d be quick to test it out, too. https://support.cloudflare.com/hc/en-us/articles/202775670
What I did is: notrealnews.net is behind cloudflare

All images on notrealnews.net are behind a CDN I made at: [redacted] (like all the images are hosted there and then I utilize Cloudflare to cache them [0])

[0]: https://developers.cloudflare.com/workers/tutorials/configur...