Turn off Persistent Object Cache notification
-
Hi,
The Site Health section of WP recommends “Persistent object caching is not enabled – The AMP plugin performs at its best when persistent object cache is enabled. Object caching is used to more effectively store image dimensions and parsed CSS.”
I brought this up with my hosting company and here was their reply:
“For the managed WordPress hosting accounts, those unfortunately do not support setting up persistent object caches. That said, the Varnish cache setup there does generally replace the need for that. Assuming Varnish already has a fresh copy of the output, the site code doesn’t need to run again for the next visitor. The persistent object store could speed up the site code running, but won’t impact serving content out of the Varnish cache.
“On a regular VPS or Dedicated Server hosting account here (not WordPress specific), you can run custom persistent object cache daemons like Redis or memcached. The regular hosting account won’t have the Varnish cache set up though, so moving to that kind of setup would likely be counterproductive.”
So it seems like my Nginx server running the Varnish cache eliminates the need for a “Persistent Object Cache”.
In a future release, is there a way to have the AMP plugin to detect whether or not Varnish is running so that this warning/recommendation is suppressed? Or maybe adding a toggle in the settings so that I can suppress this warning/recommendation?
Thanks!
- The topic ‘Turn off Persistent Object Cache notification’ is closed to new replies.