Cache dont work in local environment
-
In local environment the plugin is active and Caching Method is Redis cache, Hostname is 127.0.0.1, port is 6379 and Prefix is nginx-cache:
My Redis container is 127.0.0.1:49154->6379/tcp
If I access some pages through pagination and after this verify the Redis keys there is no one with “nginx-cache” prefix.
The log file says “| ERROR | Connection refused”, but the Nginx Timestamp in HTML says:
<!–Cached using Nginx-Helper on 2021-03-08 11:26:41. It took 35 queries executed in 1,259 seconds.–>What can be occurring? (In the production environment it works)
The topic ‘Cache dont work in local environment’ is closed to new replies.