WordPress Super Cache nginx pagespeed module ?
-
Anyone use WordPress Super Cache with Nginx ngx_pagespeed module https://centminmod.com/nginx_ngx_pagespeed.html?
Having a strange issue with WordPress Super Cache once ngx_pagespeed is fully enabled https://plus.google.com/104831941868856035845/posts/9HzN2Jz6UQs ?
issue I came across is with WordPress Super Cache + Nginx ngx_pagespeed module. If Nginx vhost has the pagespeed settings commented out to disable as
# ngx_pagespeed & ngx_pagespeed handler
#include /usr/local/nginx/conf/pagespeed.conf;
#include /usr/local/nginx/conf/pagespeedhandler.conf;
#include /usr/local/nginx/conf/pagespeedstatslog.conf;then strange thing is, ngx_pagespeed is still enabled and WordPress Super Cache is also working. I have https://blog.centminmod.com on same server with WordPress fastcgi_cache setup and ngx_pagspeed enabled so not sure if the include file there is including https://wp1.centmincache.com/ ?
But if i specifically enable ngx_pagespeed for https://wp1.centmincache.com Nginx vhost as
# ngx_pagespeed & ngx_pagespeed handler
include /usr/local/nginx/conf/pagespeed.conf;
include /usr/local/nginx/conf/pagespeedhandler.conf;
include /usr/local/nginx/conf/pagespeedstatslog.conf;Then ngx_pagespeed is enabled but WordPress Super Cache stops caching due to ngx_pagespeed overwriting the cache control headers I suspect as per https://developers.google.com/speed/pagespeed/module/configuration#ModifyCachingHeaders
- The topic ‘WordPress Super Cache nginx pagespeed module ?’ is closed to new replies.