VirtuBox / nginx-ee

Automated Nginx compilation with HTTP/3 and additional modules support. Compatible with WordOps, EasyEngine & Plesk
https://virtubox.github.io/nginx-ee/
MIT License
203 stars 58 forks source link

the pagespeed only works on the site when I am logged in to wordpress #16

Closed henriqueguedes-developer closed 6 years ago

henriqueguedes-developer commented 6 years ago

hello my friend, first of all I want to thank you for the work you are doing Following your tutorial I was able to activate page speed in wordpress

which left me confused and that when I uncheck the wp the page speed stops working in the website

I did exactly as you said in your tutorial.

my ubuntu and 16.04 my nginx is nginx -V nginx version: nginx / 1.15.2

Do you have any tips for helping me?

henriqueguedes-developer commented 6 years ago

everything is working now I had set up my wordpress with redis so I removed the redis everything ran like magic, now it appeared to me another doubt the redis inside wordpress is not to be a mysql bank cache :(

VirtuBox commented 6 years ago

Hello @kakaroto1500, I'm not sure to understand. Are you using --wpredis and pagespeed at the same time ?

henriqueguedes-developer commented 6 years ago

yes that's right I installed my wordpress using wp-redis

When I removed it, page speed worked fine.

Now I'm confused is not it a good practice to use it with wp-redis?

VirtuBox commented 6 years ago

Hello @kakaroto1500,

--wp-redis stack use redis as full-page cache system for WordPress, with a direct connection between nginx and redis to pass data into redis. So it may cause conflicts between --wpredis and ngx_pagespeed module.

henriqueguedes-developer commented 6 years ago

@VirtuBox yes I had noticed something strange regarding redis and redis module with pagespeed, even without the redis I am happy with the results of the page speed, if I got something with redis I post as I did :)

Thank you for your attention.