WP Super Cache
WordPress Super Cache + nginx pagespeed module ? (1 post)

  1. eva2000
    Posted 2 years ago #

    Anyone use WordPress Super Cache with Nginx ngx_pagespeed module http://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 http://wp1.centmincache.com/ ?

    But if i specifically enable ngx_pagespeed for http://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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic