[Plugin: WP Super Cache] WP Super Cache Generates Cache But Does Not Read From C
-
Hi there,
I have WP Super Cache installed 2 week ago. Everything went fine until lately I saw my server resources spiked up again.
Then, I suspect that WP Super Cache is not working.
1) My .htaccess file
# BEGIN WPSuperCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
RewriteCond %{HTTP_USER_AGENT} !^.*(Android|2.0\ MMP|240×320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/nfs/c02/h09/mnt/23033/domains/munfitnessblog.com/html/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
RewriteRule ^(.*) /nfs/c02/h09/mnt/23033/domains/munfitnessblog.com/html/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
RewriteCond %{HTTP_USER_AGENT} !^.*(Android|2.0\ MMP|240×320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
RewriteCond %{DOCUMENT_ROOT}/nfs/c02/h09/mnt/23033/domains/munfitnessblog.com/html/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /nfs/c02/h09/mnt/23033/domains/munfitnessblog.com/html/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
</IfModule># END WPSuperCache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Are the above rules correct?
2) If I go to one individual post, from “View Source”:
In IE:
<!– Dynamic page generated in 0.855 seconds. –>
<!– Cached page generated by WP-Super-Cache on 2009-10-09 10:40:50 –>Firefox:
<!– Dynamic page generated in 1.301 seconds. –>
<!– Cached page generated by WP-Super-Cache on 2009-10-09 10:38:33 –>Then, few minutes later, I tried again:
In IE:
<!– Dynamic page generated in 1.232 seconds. –>
<!– Cached page generated by WP-Super-Cache on 2009-10-09 10:42:04 –>Firefox:
<!– Dynamic page generated in 1.301 seconds. –>
<!– Cached page generated by WP-Super-Cache on 2009-10-09 10:38:33 –>So, it looks like IE is not reading from the cache?
3) Now, if you go to the main page of the blog:
IE:
<!– Dynamic page generated in 1.209 seconds. –>
<!– Cached page generated by WP-Super-Cache on 2009-10-09 10:05:17 –>Firefox:
<!– Dynamic page generated in 1.728 seconds. –>
<!– Cached page generated by WP-Super-Cache on 2009-10-09 10:38:26 –>Few minutes later, I tried again:
IE
<!– Dynamic page generated in 1.209 seconds. –>
<!– Cached page generated by WP-Super-Cache on 2009-10-09 10:05:17 –>Firefox:
<!– Dynamic page generated in 1.728 seconds. –>
<!– Cached page generated by WP-Super-Cache on 2009-10-09 10:38:26 –>It looks as if it is working fine on the main page, just that it does not work on individual page for IE.
Has anyone experienced this before.
Any advice?
This problem has been troubling me. I have tried WP Super Cache 0.9.7 and now using the development version dated 6 Oct 2009.
I am on Media Temple and was surprised to find many other people on Media Temple can’t get this plugin to work.
- The topic ‘[Plugin: WP Super Cache] WP Super Cache Generates Cache But Does Not Read From C’ is closed to new replies.