Hello,<br><br>When I look at the stats at wp super cace, it always show 0 page for wp super cace:<br><br>Cache Contents<br><br>WP-Cache<br><br> * 71 Cached Pages<br> * 0 Expired Pages<br><br>WP-Super-Cache<br><br> * 0 Cached Pages<br>
* 0 Expired Pages<br><br>Garbage Collection<br>Last: 2009-03-05 19:25:31<br>Next: 2009-03-05 19:35:31<br><br>I also look at the footer at my page, it shows:<br><br><pre id="line292"><span class="comment"><!-- Dynamic Page Served (once) in 0.080 seconds --></span><br>
<span class="comment"><!-- Cached page generated by WP-Super-Cache on 2009-03-06 01:31:30 --></span><br><br>So I don't know why teh wp-super-cache page is always 0. The following is my rewrite rule. Does any body got a working rewrite rule for wp suer cache? Thanks a lot.<br>
<br></pre> set $wp_super_cache_file '';<br> set $wp_super_cache_uri $request_uri;<br><br> if ( $request_method = POST )<br> {<br> set $wp_super_cache_uri '';<br>
}<br><br> if ( $query_string )<br> {<br> set $wp_super_cache_uri '';<br> }<br><br> if ( $http_cookie ~* "comment_author_|wordpress|wp-postpass_" )<br>
{<br> set $wp_super_cache_uri '';<br> }<br><br> if ( $wp_super_cache_uri ~ ^(.+)$ )<br> {<br> set $wp_super_cache_file /wp-content/cache/wp_super_cache/$http_host/$1index.html;<br>
}<br><br> if ( -f $document_root$wp_super_cache_file )<br> {<br> rewrite ^(.*)$ $wp_super_cache_file break;<br> }<br><br> if (-f $request_filename)<br>
{<br> expires 30d;<br> break;<br> }<br><br> if (!-e $request_filename)<br> {<br> rewrite ^(.+)$ /index.php?q=$1 last;<br>
<br>