3 ms·
There are multiple strategies for caching in the server, without them IIRC the php code will be interpreted on each request, files parsed, and obviously hit the
by yesbabyyes 4y ago
There are multiple strategies for caching in the server, without them IIRC the php code will be interpreted on each request, files parsed, and obviously hit the database for each request.
There's fastcgi caching in nginx, php opcode in php-fpm, and WP specific cave plugins like Super Cache. At least this was the case ~10 years ago.
- danuker 4y agoYou are correct. I didn't think of the back-end delay because I have a static site (with a comments plugin loaded separately).
- weird-eye-issue 4y agoAlso for $5/mo you can use Cloudflare APO to cache WordPress pages at the edge. Yes it will cache even the "dynamic" pages (unless you're logged in of course)
- danuker 4y ago$5/mo is roughly my server electricity cost. The Cloudflare offer is not for me.
- weird-eye-issue 4y agoThat's fine, I was just listing another option. It should be noted you should still do server side caching. This just lets you serve from Cloudflare's caching layers too
- iamacyborg 4y agoAlso something like Varnish, which is what Wikipedia uses.