Elektrine lite

← Feed

@xavier@pony.social

Post #1740740

2026-04-28 08:55 UTC

@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.

Replies (2)

  • @elena@aseachange.com 2026-04-28 08:56

    @xavier@pony.social thank you... I think I sort of understand. I wonder if my problem is having a CDN turned on both on Hostinger and BunnyNet?

    Open ##1740739

  • @xavier@pony.social 2026-04-28 14:31

    @elena@aseachange.com I summarized my knowledge of proxy caching in this blog post that is hopefully easier to digest. Hopefully, it can help other Fedi folks trying to understand the Fediverse server stampede.

    Open ##1746222