"via php" (only homepage)
-
Hi, first of all, thank you for your great plugin. It’s really fast and simple, as it should be. I got it working really easy, I just needed to modify the https redirects, since I’m using Cloudflare’s CDN + their flexible free SSL. Your plugin is trying to force himself to https but it’s causing redirect loop. 🙂
The (only) problem I’m having is that the homepage is getting served by PHP. I’d really love to fix it since the homepage get’s obviously most of the heat. From the source code I understand the file get’s served via php and the via php html comment get’s added if the rewrite rule doesn’t work.
These are the rewrite rules:
# BEGIN WpFastestCache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / AddDefaultCharset UTF-8 #RewriteCond %{HTTP_HOST} ^www.xxx.com #RewriteRule ^(.*)$ https://xxx.com/$1 [R=301,L] #RewriteCond %{HTTPS} !=on #RewriteCond %{HTTP_HOST} ^xxx.com #RewriteRule ^(.*)$ https\:\/\/xxx\.com\/$1 [R=301,L] RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or] RewriteCond /var/www/xxx.com/wp-content/cache/all/$1/index.html -f RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L] </IfModule> <FilesMatch "\.(html|htm)$"> FileETag None <ifModule mod_headers.c> Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT" </ifModule> </FilesMatch> # END WpFastestCacheDo you have any idea why the rewrite for homepage fails?
Really great plugin otherwise, will test it bit further and try to get the homepage served also statically and will donate 🙂 (don’t need the pro features but you deserve it)
The topic ‘"via php" (only homepage)’ is closed to new replies.