Forums

[Plugin: W3 Total Cache] NGINX support status? (13 posts)

  1. moepstar
    Member
    Posted 2 years ago #

    Hi,

    i'm just asking if there's any kind of progress on NGINX support for W3 Total Cache.

    From what i've gathered there are plans to integrate it in future versions, i'm just asking when it's going to be ready or at least available for testing.

    best regards

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. 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.

  3. moepstar
    Member
    Posted 2 years ago #

    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.

  4. paul1999
    Member
    Posted 2 years ago #

    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;

  5. moepstar
    Member
    Posted 2 years ago #

    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?

  6. paul1999
    Member
    Posted 2 years ago #

    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.)

  7. Frederick Townes
    Member
    Posted 2 years ago #

    Native support for nginx is coming in v1.0.

  8. moepstar
    Member
    Posted 2 years ago #

    Which in turn is coming when? :)

  9. Frederick Townes
    Member
    Posted 2 years ago #

    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.

  10. teknoledge
    Member
    Posted 1 year ago #

    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.

  11. archondigital
    Member
    Posted 1 year ago #

    any updates?

  12. Frederick Townes
    Member
    Posted 1 year ago #

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

  13. fikrionline
    Member
    Posted 1 year ago #

    @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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic