Caching oembed with nginx
When we post a blog link on Mastodon, caching pages might not be enough, thanks to oembed requests — so cache those too with nginx fastcgi cache.
When we post a blog link on Mastodon, caching pages might not be enough, thanks to oembed requests — so cache those too with nginx fastcgi cache.
Purge the whole nginx fastcgi cache from WordPress when nginx and PHP run as different users.
With a few simple rules, nginx can proxy all domains of a remote server.
I've moved nearly all of WebAware's websites to DigitalOcean, and stuck NginX in front of everything.