Post #1740298
2026-04-28 08:19 UTC
Replies (2)
-
@xavier@pony.social 2026-04-28 08:55
@elena@aseachange.com looking at the response headers, the assets (fonts, css, js) are indeed served from cache (cdn-cache: HIT), but fedi instances don't load the assets when generating the preview, only the main HTML. The main HTML file is still not cached by the Hostinger CDN (x-hcdn-cache-status: DYNAMIC header, then a x-powered-by: PHP/8.2.30 confirming that wordpress was called). I'm not certain about the specifics for Hostinger, but in most cases, DYNAMIC indicates that the wordpress server itself denied caching via a Cache-control header. Right now, I think the stampeede issue will still happen, unless you change the wordpress config to allow caching of generated pages. It's not enabled by default, because when you enable it, you need to setup cache invalidation for page changes to propagate.
-
@mirou@mastodon.social 2026-04-28 08:29
@elena the page was hard to load at first but now it seems to work fine. I load it in my Mastodon client, the safari (slow on both at first then fast) and tried again in Firefox to make sure it wasnโt cached locally.