• ahmedsawon

    (@ahmedsawon)


    Hello,

    I’m using W3TC as my caching plugin and it works just fine for my site

    I also use following snippet at .htaccess to leverage browser caching

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 2 days"
    </IfModule>
    ## EXPIRES CACHING ##

    So, my question is should I use the above snippet in associated with W3TC plugin

    Or it is not necessary though W3TC can provide browser caching option

    I’m in confusion about it so need correct answer

    Thanks

    • This topic was modified 8 years ago by ahmedsawon.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Which WordPress caching engine should i use??’ is closed to new replies.