@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@blainsmith@snac.rblgk.sh avatar blainsmith , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@_elena@mastodon.social avatar _elena , to random

Good morning Fedi friends!

I had to delete the toot I published earlier because sharing a URL to my new self-hosted Ghost blog overwhelmed the server & took the whole site down (even with powerful caching in place).

This is apparently a common problem: https://github.com/mastodon/mastodon/issues/23662#event-12625986130

Anyway! I spent the past few months learning some basic coding & I was able to manually install Ghost, edit Nginx configs & do other dev magic. It's super empowering! 💪

As they say: link in bio 😅

ALT
renchap ,
@renchap@oisaur.com avatar

@_elena @troed When I make a query to your website, I see that the Cache-Control header has a max-age=0, which causes it not to be cached: cache-control: public, max-age=0
Did you update your Ghost config to include the caching options? https://ghost.org/docs/config/#caching
I would advise a maxAge of 10s to 60s at least for the frontend