1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need some WP cache plugin that works

Discussion in 'Blogging' started by ddederick, Oct 19, 2013.

  1. ddederick

    ddederick Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 22, 2012
    Messages:
    584
    Likes Received:
    432
    Location:
    The Source Code
    Ive been looking for some plugin that makes my WP load time faster but there were issues.

    WP Super Cache made my pages blank. I even couldnt get to dashboard. So I had to delete it through FTP.

    Do you know some really good and working plugin? Or has somebody experiences with this bug? Thanks
     
  2. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Premium Member

    Joined:
    Nov 10, 2012
    Messages:
    10,119
    Likes Received:
    28,559
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:
    • Thanks Thanks x 1
    Last edited: Oct 19, 2013
  3. TZ2011

    TZ2011 Senior Member

    Joined:
    Jun 26, 2011
    Messages:
    832
    Likes Received:
    863
    Occupation:
    Cleaning servers
    Put this in your .htaccess and tell us your results before this code and after the code is saved in .htaccess (check results over gtmetrix.com)

    Code:
    <IfModule mod_expires.c>
    # Enable expirations
    ExpiresActive On 
    # Default directive
    ExpiresDefault "access plus 1 month"
    # My favicon
    ExpiresByType image/x-icon "access plus 1 year"
    # Images
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    ExpiresByType image/jpg "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    # CSS
    ExpiresByType text/css "access 1 month"
    # Javascript
    ExpiresByType application/javascript "access plus 1 year"
    </IfModule>
    
    # cache images and flash content for one month
    <FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf)$">
    Header set Cache-Control "max-age=2592000"
    </FilesMatch>
    
    # cache text, css, and javascript files for one week
    <FilesMatch ".(js|css|pdf|txt)$">
    Header set Cache-Control "max-age=604800"
    </FilesMatch>
    
    # cache html and htm files for one day
    <FilesMatch ".(html|htm)$">
    Header set Cache-Control "max-age=43200"
    </FilesMatch>
    
    # etags
    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)(\.gz)?$">
    Header set Expires "Thu, 28 Apr 2016 20:00:00 GMT"
    Header unset ETag
    FileETag None
    </FilesMatch>
    
    #Gzip
    <ifmodule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
    </ifmodule>
    #End Gzip
    
     
  4. ddederick

    ddederick Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 22, 2012
    Messages:
    584
    Likes Received:
    432
    Location:
    The Source Code
    Thank you for your suggestion, guys.

    Quick Cache works like a charm in my case!
     
  5. imktng

    imktng Junior Member

    Joined:
    Dec 4, 2012
    Messages:
    101
    Likes Received:
    20
    Yep, Total Cache does the trick for me!