tedj14
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Preload does not work (I am using Nginx)The problem was SSL certificate. If certificate is self-signed or not valid it did not work.
Also, visitors with user agent “WordPress/* example.com” should not be served with cached content without invoking PHP.
if ($http_user_agent ~* ^WordPress.*\ example\.com$ ) { set $cache_uri 'null cache'; }Or more simple code (but will serve other WordPress sites without caching – for example, when another WP site request RSS it will not be cached):
if ($http_user_agent ~* WordPress ) { set $cache_uri 'null cache'; }Context of this code can be found here.
- This reply was modified 9 years, 4 months ago by tedj14.
Forum: Plugins
In reply to: [WP Super Cache] Preload does not work (I am using Nginx)It gives error only when this checkbox is not checked:

- This reply was modified 9 years, 4 months ago by tedj14.
Forum: Plugins
In reply to: [WP Super Cache] Preload does not work (I am using Nginx)I changed the URL of the website to http:// (it was https:// with self-signed certificate).
It stared to work, but when it made 111 cached pages the counter did not move (I also check this on the filesystem, not only on “Contents” tab).
$ find /home/account94/public_html/wp-content/cache/ | grep \.gz | wc -l 111Full refresh of cache in 0 hours 14 minutes and 25 seconds. Currently caching from post 300 to 400. Page last cached: 366 https://reasonableobservers.ml/how-did-garcinia-cambogia-gain-its-fat-burning-reputation.htmlThe URL above is still “https:// …” despite I changed the settings in “General” (WordPress Address (URL) and Site Address (URL)). Maybe because I am accessing the WordPress Dashboard with https protocol.
I am testing it now with http Dashboard…
It made 165 cached pages so far.
It looks like there is an problem when the plugin is trying to visit the pages in order to activate the caching – it stops if certificate is self signed.
Forum: Plugins
In reply to: [WP Super Cache] Preload does not work (I am using Nginx)I tested it with
wget -v -r -nc --no-parent --no-check-certificate mytestingwebiste.tldand caching works (it caches the pages that are visited by the wget).
The only problem is that preload is not working (despite there is an indication in plugin’s control panel that it works – see the screenshot above).