Hi,
I have been using super cache updated version for my blog http://www.iphoneindiablog.com. I usually check my blog on firefox 3 and find that posts get updated within an hour from the time of posting, on the home page.
I realised that IE7 is not updating the posts on index.php even though I had cleared cache files 2 to 3 times. Last time I check, IE7 was not refreshed for over 5days. I then hit 'delete cache' in my super cache settings. Immediately IE7 updated the index page with latest posts.
Again I checked today, found the same problem, IE was showing my 5th sept post, even though firefox and chrome were showing the lastest posts. I then hit delte cache again and IE7 showed the latest posts.
Could you please help me get rid of this big problem.
Thanks
Dev
Anyone there..
please help
smerriman
Member
Posted 4 years ago #
Exactly the same here.. I upgraded a site from 2.5 to 2.6 including installing 0.7.1 of supercache, and a week later IE7 was still showing posts from the day it was upgraded. Require some urgent replies here..
Same here. I don't know what the heck is goin on, but it's not updating itself. :(
Did this ever get resolved? I sometimes notice the same behavior with Firefox. The index page will always reflect the same September 2008 posts for me instead of the most recent. I have to clear the cached files, and also force a refresh to see the current index.php
racerman28
Member
Posted 4 years ago #
Im having the same problem now all of the sudden, but on just one of my blogs.
Has anyone found a fix for this?
Does your wp-content/cache/.htaccess have all the necessary rules? It should look like this. These rules set various expiry times for different files and seem to really affect IE7 users.
# BEGIN supercache
<IfModule mod_mime.c>
AddEncoding gzip .gz
AddType text/html .gz
</IfModule>
<IfModule mod_deflate.c>
SetEnvIfNoCase Request_URI \.gz$ no-gzip
</IfModule>
<IfModule mod_headers.c>
Header set Cache-Control 'max-age=300, must-revalidate'
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html A300
</IfModule>
# END supercache
racerman28
Member
Posted 4 years ago #
I'll check this out.
Thanks for thew info Donncha!
racerman28
Member
Posted 4 years ago #
Donncha,
I'm very 'green' to this type stuff. My Wp Super Cache rules in my .htaccess are very different than what you have listed above. Is what you have above what I should add to mine?
Here's what's in my .htaccess :
# BEGIN WPSuperCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
</IfModule>
# END WPSuperCache
Different .htaccess file. The one I mentioned above is at wp-content/cache/.htaccess
racerman28
Member
Posted 4 years ago #
Ah! Ok. I'll give this a try.
I'll come back with the results.
Thanks for your help. :)
racerman28
Member
Posted 4 years ago #
I think that did the trick!
The .htaccess in Super Cache had practically nothing in the file.
Now it seems to work fine in all browsers.
If it crops up again I'll let you know.
Thanks again for your help!
My issue was leftover cache files from wp-cache, prior to installing WP Super Cache. The wp-cache files were in a different, older location. Working great now.