Cache query string is only
-
Hi, I need cache url parameter.
I have define in wp-configdefine('WPFC_CACHE_QUERYSTRING', true);But…
This page Events is ok… TTFB 90msThis page Past Events is too caching, but on end of page is via php. And TTFB is 500ms.
Why is second page “via php”.
Htasscess code is :
# BEGIN WpFastestCache # Modified Time: 02-04-22 6:47:26 <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} =on RewriteCond %{HTTP_HOST} ^severacek.cz # Start WPFC Exclude RewriteCond %{REQUEST_URI} !\/rodice [NC] RewriteCond %{REQUEST_URI} !\/bc [NC] RewriteCond %{REQUEST_URI} !\/vybor-kps [NC] # End WPFC Exclude # Start_WPFC_Exclude_Admin_Cookie RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=ma.prochazka|matata # End_WPFC_Exclude_Admin_Cookie RewriteCond %{HTTP_HOST} ^severacek.cz RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot) RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot) RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{REQUEST_URI} !(\/){2}$ RewriteCond %{REQUEST_URI} \/$ RewriteCond %{QUERY_STRING} !.+ RewriteCond %{HTTP:Cookie} !wordpress_logged_in RewriteCond %{HTTP:Cookie} !comment_author_ RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or] RewriteCond /data/web/virtuals/211752/virtual/www/domains/severacek.cz/wp-content/cache/all/$1/index.html -f RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L] </IfModule> <FilesMatch "index\.(html|htm)$"> AddDefaultCharset UTF-8 <ifModule mod_headers.c> FileETag None 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 WpFastestCacheOn some websites it happens to me that there is a “via php” page without parameters. Why please?
Can you help me plese? Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Cache query string is only’ is closed to new replies.