3 ms·
Installing a caching plugin and turning it all the way up should solve most of your problems. There is no real need for every request to hit the DB.
by robjan 7y ago
Installing a caching plugin and turning it all the way up should solve most of your problems. There is no real need for every request to hit the DB.
- robputt796 7y agoHello, Yep, the site already uses a caching plugin (w3TotalCache) and it is configured with memcached at the backend. Unfortunately, even with this the site still makes a couple of DB calls with each page load, but nowhere near as many as without the caching. Maybe I'll shove varnish in front of it too for good measure :joy:
- tecleandor 7y agoIf you're using nginx (haven't checked it) microcaching for a bunch of seconds, let's say five seconds, can solve most of this problems and you don't need to add more components.
- robputt796 7y agoNope sorry, still using Apache 2. :-|
- tecleandor 7y agoHaven't tried this personally, but it might help you... https://portal.cloudunboxed.net/knowledgebase/33/Nginx-like-microcaching-using-Apache-modcache.html https://portal.cloudunboxed.net/knowledgebase/33/Nginx-like-...