Title: WordPress Super Cache   nginx pagespeed module ?
Last modified: August 21, 2016

---

# WordPress Super Cache nginx pagespeed module ?

 *  [George Liu](https://wordpress.org/support/users/eva2000/)
 * (@eva2000)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/wordpress-super-cache-nginx-pagespeed-module/)
 * Anyone use WordPress Super Cache with Nginx ngx_pagespeed module [http://centminmod.com/nginx_ngx_pagespeed.html](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](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](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/](http://wp1.centmincache.com/)?
 * But if i specifically enable ngx_pagespeed for [http://wp1.centmincache.com](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](https://developers.google.com/speed/pagespeed/module/configuration#ModifyCachingHeaders)
 * [https://wordpress.org/plugins/wp-super-cache/](https://wordpress.org/plugins/wp-super-cache/)

The topic ‘WordPress Super Cache nginx pagespeed module ?’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

## Tags

 * [nginx](https://wordpress.org/support/topic-tag/nginx/)
 * [pagespeed](https://wordpress.org/support/topic-tag/pagespeed/)

 * 0 replies
 * 1 participant
 * Last reply from: [George Liu](https://wordpress.org/support/users/eva2000/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/wordpress-super-cache-nginx-pagespeed-module/)
 * Status: not resolved