8
Instabilities today (lemmy.studio)
submitted 1 year ago by [email protected] to c/[email protected]

Hey, hey!

This morning (Pacific time) I changed the nameservers on lemmy.studio, switching to a service that provides a CDN and a WAF. It's a cautionary measure to protect us from DDOS attacks. That caused some instabilities, sorry for that.

I also noticed that the CDN was too aggressive, caching URLs regardless of the Content-type, and it seems that Lemmy uses content negotiation (the same endpoint can return HTML or JSON depending on the headers). I've fixed the caching to take the headers in consideration, so hopefully you won't be seeing JSON responses when accessing the website on your desktop. If you do, let me know!

On a related note, I created a spreadsheet showing the monthly expenses on the instance, and how much we're making from user donations on Ko-fi. The sheets was shared with the current supporters. If you can spare a dollar (or five) every month to help the instance run smoothly please do, anything helps.

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 4 points 1 year ago

Be real careful with content-type when caching. Depending on your design you can cache and leak secrets in url params

this post was submitted on 12 Aug 2023
8 points (100.0% liked)

Lemmy

150 readers
1 users here now

Discussions about the lemmy.studio instance, troubleshooting, suggestions, etc.

founded 1 year ago
MODERATORS