Another round of performance optimizations completed

I spent a fair amount of time this weekend optimizing the interaction between NGINX, PHP, Symfony framework tuning handles, Postgres and Cloudflare before I give up on this server and move kbin.run to a more powerful machine. The big change that will improve performance: I'm force rewriting the caching headers on images that are being incorrectly served by Mbin (and /kbin) using Cloudflare transforms and caching rules... but the underlying problem is something the Mbin team is aware of and will investigate further.

I hope everyone enjoys the boost in page responsiveness now.

Have a nice week!

4 points · 2 comments · view on lemmy.world

2 Comments

e-five@kbin.run · 1 pts · 2y (1 reply)

before I give up on this server

😮

and move kbin.run to a more powerful machine

😌

that was a rollercoaster to read

debounced@kbin.run · 3 pts · 2y

lmao, gotta make sure people read my entire post!

this VM host is old and tired, so it has been like squeezing blood from a stone to eek out any more performance. my plan right now is to move it to a faster server once the service is up for renewal; i paid a year in advance to get the best rate, so it'll be a couple of months before that happens.