High TTFB Multilingual site
-
Hi there,
Love your plugin. Using WP Fastest Cache + preload + custom cronjobs + Autoptimize. This setup has significantly increased the speed of my websites. A truly stable and consistent solution.
However, while deploying the setup on some of my multilingual websites (using Polylang), I encountered a significant increase in TTFB. 600-800ms additional waiting time measured by GTmetrix etc.
I investigated this further and found the solution/issue within the HTaccess code created by WP Fastest Cache. More specifically, these lines:
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or] RewriteCond /home/volt/public_html/wp-content/cache/all/$1/index.html -f RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
I checked the support topics, your website and many forum posts, and found out that using Polylang means that WP Fastest Cache creates a multisite setup. The cached files are now located in cache/www.domain.com/all/…
When changing the htaccess code to correspond the exact location of the cached files, the TTFB reduced back to normal, 400-600ms instead of 1000-1200ms.
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/www.domain.com/all/$1/index.html -f [or] RewriteCond /home/volt/public_html/wp-content/cache/www.domain.com/all/$1/index.html -f RewriteRule ^(.*) "/wp-content/cache/www.domain.com/all/$1/index.html" [L]
My questions:
Is this a known or new issue?
Is the fix above a good solution to the issue?
Does a future update of WP Fastest Cache erase custom changes to the htaccess code?
And can this issue be permanently fixed in an upcoming release?Thanks in advance!
Mathias
The page I need help with: [log in to see the link]
- The topic ‘High TTFB Multilingual site’ is closed to new replies.