• Resolved infuser

    (@infuser)


    Hi everyone,
    I was using W3 Total Cache in combination with CDN. My website was lightning fast, got a score of 90 on Pingdom, but the plugin completely screwed up my website: even when I disable EVERYTHING on W3, when I logged in (I have user-driven website), on some pages I would be logged in as Admin, while on others it still says Sign In. I tried WP Super Cache, and once again, with CDN my website loads 500+ ms on average, but my score went down to 83 because of Leverage Browser Cache. Also, the previously mentioned issues were gone while using WP Super Cache, all pages were displaying “logged in as Admin.”
    I really don’t know what to do, even played around with .htaccess, but my score of 83 (with WP Super Cache) has not changed. Should I just bite the bullet and have a fast website with a lower score? Or is there something else that I can do?
    Thank you guys, I hope any of this made sense; I’m just being desperate here.

Viewing 1 replies (of 1 total)
  • Thread Starter infuser

    (@infuser)

    Just solved the problem! Final result: Pingdom score 92 and website loading between 500ms-1.5s Just paste this code to your .htaccess
    # BEGIN Compress text files
    <ifModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript
    </ifModule>
    # END Compress text files

    # BEGIN Expire headers
    <ifModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault “access plus 5 seconds”
    ExpiresByType image/x-icon “access plus 2592000 seconds”
    ExpiresByType image/jpeg “access plus 2592000 seconds”
    ExpiresByType image/png “access plus 2592000 seconds”
    ExpiresByType image/gif “access plus 2592000 seconds”
    ExpiresByType application/x-shockwave-flash “access plus 2592000 seconds”
    ExpiresByType text/css “access plus 604800 seconds”
    ExpiresByType text/javascript “access plus 216000 seconds”
    ExpiresByType application/javascript “access plus 216000 seconds”
    ExpiresByType application/x-javascript “access plus 216000 seconds”
    ExpiresByType text/html “access plus 600 seconds”
    ExpiresByType application/xhtml+xml “access plus 600 seconds”
    </ifModule>
    # END Expire headers

    # BEGIN Cache-Control Headers
    <ifModule mod_headers.c>
    <filesMatch “\.(ico|jpe?g|png|gif|swf)$”>
    Header set Cache-Control “public”
    </filesMatch>
    <filesMatch “\.(css)$”>
    Header set Cache-Control “public”
    </filesMatch>
    <filesMatch “\.(js)$”>
    Header set Cache-Control “private”
    </filesMatch>
    <filesMatch “\.(x?html?|php)$”>
    Header set Cache-Control “private, must-revalidate”
    </filesMatch>
    </ifModule>
    # END Cache-Control Headers

    # BEGIN Turn ETags Off
    FileETag None
    # END Turn ETags Off

Viewing 1 replies (of 1 total)
  • The topic ‘W3 Total Cache Problem’ is closed to new replies.