Object Caching
complete
Amrayu78
I would also like to tune the server and add support for object caching (like Redis or Memcached):
This is ideal for our case, where regular full page caching is not quite suitable, as there are many logged-in users who want to see fresh content.
If you don't mind, we can create a separate thread for this.
Amrayu78
complete
Amrayu78
Max Romanchenko: Separating out to a new task here.
Max Romanchenko
Amrayu78 I'm happy to report that Redis is now up and running on the server, and I've added the PHPRedis extension as well (please see screenshot). On the site side, I went with a custom solution from one of the best premium hosts (Pantheon). Here's the implementation link:
It’s a clean setup that doesn’t need any extra plugins. Now all site requests get cached automatically. I ran some tests and saw the number of requests drop by about half. Redis keeps the data in RAM for quick access, and WordPress takes care of refreshing the cache when needed - so fresh data still shows up without issues.
Overall, the site is already quite fast. But now it will be even easier for it to process repetitive database queries. This is an additional level of improvement.
Amrayu78
Max Romanchenko great! This is good news. Shall I keep this ticket open for monitoring?
Max Romanchenko
Amrayu78 Thank you!
I think we can close this. I will continue to monitor it through the logs. If there are any problems (there shouldn't be), we can always open a new ticket.