(Open) questions in my Varnish context
-
Hi,
After years of struggling with page caching, probably due to a lack of full technical curiosity on my side, I discovered yesterday that the Varnish cache installed on my host [Apache – 1.1 varnish (Varnish/6.3)] was not fully seen/viewed/used by my 2 WP [6.9] blogs.
After reading more about this subject, interacting with the host’s support team and tweaking my blogs some more, I discovered this plugin (as well as the “Cacheability” plugin) and it seems that requests to both blogs now go through the Varnish cache: when using “Check Caching” I can see values for X-cache-age, X-cache-hits and X-cache = HIT and the Median server response time is much better than it previously was (without any page and/or object cache plugin).
But,
1 Proxy Cache Purge reports “Cache Service: No known cache service has been detected on your site.”
This means, at least, that I won’t be able to purge remotely.
But in “Check Caching” I get: “Remote IP Your server IP setup looks good.”
2 and “The ‘Age’ header is returning 0, which means it is not properly caching. Either this URL is intentionally excluded from caching, or a theme or plugin is instructing WordPress not to cache.”
Also, the “Cache-control:” value is empty as I removed max-age and ExpiresDefault from .htaccess while I do these tests. [I get max-age=0 when I set values and I don’t understand why yet.]PS: I tried the plugin alone in troubleshooting mode, and it’s the same.
For (1), I tried adding an IP or “localhost” and this didn’t change anything. What am I missing here? What should I look for?
For (2), AFAIK, and after looking on both blogs as they report the same error, I haven’t found or have any more clue where this value might be set. As said above, I removed all page/object caching plugins.
Am looking for leads to investigate further…
Sincerely
DJMThe page I need help with: [log in to see the link]
You must be logged in to reply to this topic.
