Closed milkovsky closed 5 years ago
We don't say anything bad about Till Krüss.
His plugin is more towards non-professional users as it supports Predis (which is in PHP not C) and has a UI.
for clarity: WordPress core -> wp-redis plugin -> phpredis PECL extension -> Redis server
handles both page and object cache
:( No, both plugins are object cache only.
ps. I advise you not to use a full page cache plugin, see for example https://github.com/szepeviktor/tiny-cache
Thank you for the feedback and advise!
A follow-up question: Is there any reason why is the page cache not supported by wp-redis? I think it is in general not a bad idea to store page cache in Redis.
AFAIK full page caching is not a professional thing, while comparing highly optimized (https://github.com/szepeviktor/tiny-cache) PHP runtime to HTML file read time you find a small difference (~50 msec)
a full page cache makes a lot of things go wrong like HTTP headers, and prevents dynamic content
Please close these 2 issues. Thanks.
Thank you for the answers! I am closing the issue.
Next text is just FYI:
I am new to WP, but I have Drupal background. In Drupal there is no separation on Object Cache and Page cache. So I am still not sure what it is all about. In Drupal projects the entire cache is stored is a single place. With a concept of cache-tags and cache-contexts cache always stays up-to-date. In addition there is an optional separation on dynamic and not dynamic page cache.
FYI Redis module for Drupal.
Thank you.
For Drupal sites Redis is also a must have.
Could you please tell what is difference between this plugin and the "Redis Object Cache" plugin?
As I understand "Redis Object Cache" handles only object cache, and "WP Redis" handles both page and object cache. Is it correct?