Support » Plugins » [Plugin: W3 Total Cache] NGINX support status?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I get reasonable results using W3 Total Cache and NGINX with 2 caveats: JS and CSS minification do not work and to enjoy gzip compression I changed these settings in my php.ini file:

    zlib.output_compression = On
    zlib.output_compression_level = 6

    I’m caching to APC and it works reasonably well.

    Well, this is all nice but i’d like to see the whole functionality supported, if possible.

    It’d be interesting to know if the minification problems stem only from rewrite rules not working.

    Yes, the problem is just rewriting. I use this rule in my nginx conf. It may need to be tweaked for your site.

    rewrite ^/wp-content/w3tc/min/([a-z0-9\-_]+)\.(include(-footer)?(-nb)?)\.(css|js)$ /wp-content/w3tc/min/index.php?gg=$1&g=$2&t=$5 last;

    Thanks for that – i however suppose that you’re NOT using disk-based caching as that would need the other .htaccess rules to be adopted too?

    You are right. I am serving the CSS through a mirror (pull) CDN disk caching is not needed.

    Porting .htaccess to nginx conf files is not hard. The biggest difference is that mod_rewrite allows multiple condition while nginx if statements only allow one condition. It just requires a different approach (there are tutorials on simulating multiple conditions using strings … but try to avoid these as they are not needed.)

    Native support for nginx is coming in v1.0.

    Which in turn is coming when? 🙂

    There are so many amazing features scheduled, it’s hard for me to promise. It will all be wrapped up this year though that much is certain.

    Any update on this? 🙂

    Nginx is becoming extremely popular webserver (I moved completely to nginx on all my VPS’s and servers) so added support for it out of the box would be extremely useful.

    any updates?

    Nginx support is available in the development version: http://wordpress.org/extend/plugins/w3-total-cache/download/

    @frederick Townes: I’m a new beginner in WordPress. Can you tell me how to configure it in Nginx?

    Notes: W3 Total Cache is one of the big plugin in wordpress 🙂

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: W3 Total Cache] NGINX support status?’ is closed to new replies.