Site Health Wordpress
altersay But, do you know the .conf file that manages browser cache?
Not sure if you mean browser cache (or maybe page cache)?
But if you look at wo site edit yoursite.com
you'll see the conf files that are being included for your setup. These can be found in /etc/nginx/common/
.
To your original question - page caching is most likely working (given the 10 ms response time) it's just that the WP reporting doesn't recognise it. Check page headers using the dev tools in a web browser to verify (look for a cache 'hit').
Similar problem here, I'm using --wpredis but site health is giving me this:
marciomarim I'm using --wpredis but site health is giving me this:
What does the object cache plugin say?
The Nginx Helper plugin?
It says that Redis Cache is activated.
marciomarim The Nginx Helper plugin?
No, the "Redis Object Cache" plugin. Object cache is not the same as page cache.,
Oh, WordOps didn't installed the plugin when I switched to --wpredis, so I thought it wasn't needed anymore.
That'll be the problem then. :-) If you want object cache via Redis then you need to install the plugin and enable it in the plugin settings.
Thanks marty, it solves the problem.
However, why WordOps doesn't install Redis Object Cache anymore? Am I missing something?
marciomarim However, why WordOps doesn't install Redis Object Cache anymore? Am I missing something?
It did when I tried it just now :-)
Running pre-update checks [OK]
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Downloading WordPress [Done]
Setting up database [Done]
Configuring WordPress [OK]
Installing WordPress [OK]
Installing plugin nginx-helper [OK]
Setting plugin nginx-helper [OK]
Installing plugin redis-cache [OK] <<<<<
Testing Nginx configuration [OK]
Reloading Nginx [OK]
/htdocs/wp-content/plugins
akismet hello.php index.php nginx-helper **redis-cache**
Just tested again on 3 different sites I have and wo site update domain --wpredis
is not installing Redis Object Cache plugin.
It says that it is doing it but then there is no plugin installed.
Backup location : /var/www/domain.com/backup/12Jul2023-14-20-14
Backing up database [Done]
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Setting plugin nginx-helper [OK]
Testing Nginx configuration [OK]
Reloading Nginx [OK]
Configure redis-cache: http://domain.com/wp-admin/options-general.php?page=redis-cache
Object Cache: Enable
Successfully updated site http://domain.com```
Hmm, haven't tried it recently but sounds like it works for create
but not update
. Obviously the workaround is just to install the plugin (it comes from the regular WP repository). Maybe create a ticket in https://github.com/WordOps/WordOps/issues
Did you ever fix this? Having the same issue..
Using wpfc + nginx helper + redis object cache..
Yet the issue starting appearing today. Also using Autoptimize.