W3 total cache cloudflare
-
Hey,
Firstly, I just want to say that I love how this plugin improves my website performance. Anyway, I have small problem.
Let me introduce you with an issue I am getting on my justhost.com website while activating the cloudflare CDN. I am getting a redirect loop error sometimes (not everytime), when both are activated and I have set it up using this tutorial:
https://www.besthostnews.com/guide-to-w3-total-cache-settings-with-cloudflare/
Cloudflare support send me this
$ curl -vso /dev/null guiaemdubai.com 2>&1 | grep "Loca" < Location: /RiiNZ/ $ curl -vso /dev/null guiaemdubai.com 2>&1 | grep "Loca" < Location: / $ curl -vso /dev/null guiaemdubai.com 2>&1 | grep "Loca" < Location: / $ curl -vso /dev/null guiaemdubai.com 2>&1 | grep "Loca" < Location: / $ curl -vso /dev/null guiaemdubai.com 2>&1 | grep "Loca" < Location: / $ curl -vso /dev/null guiaemdubai.com 2>&1 | grep "Loca" < Location: / $ curl -vso /dev/null guiaemdubai.com 2>&1 | grep "Loca" < Location: /WadbZ/ Looking more into this issue I saw this: $ curl -vso /dev/null guiaemdubai.com/QXYjZ/ * About to connect() to guiaemdubai.com port 80 (#0) * Trying 173.254.28.47... * Connected to guiaemdubai.com (173.254.28.47) port 80 (#0) > GET /QXYjZ/ HTTP/1.1 > User-Agent: curl/7.30.0 > Host: guiaemdubai.com > Accept: */* > < HTTP/1.1 302 Found < Connection: close < Pragma: no-cache < cache-control: no-cache < Location: /NVKeZ/QXYjZ/ < { [data not shown] * Closing connection 0 $ curl -vso /dev/null guiaemdubai.com/NVKeZ/QXYjZ/ * About to connect() to guiaemdubai.com port 80 (#0) * Trying 173.254.28.47... * Connected to guiaemdubai.com (173.254.28.47) port 80 (#0) > GET /NVKeZ/QXYjZ/ HTTP/1.1 > User-Agent: curl/7.30.0 > Host: guiaemdubai.com > Accept: */* > < HTTP/1.1 302 Found < Connection: close < Pragma: no-cache < cache-control: no-cache < Location: /LfRiZ/NVKeZ/QXYjZ/ < { [data not shown] * Closing connection 0
And said that I should contact my hosting support. Stupid justhost.com support said, that I should turn off W3 total cache, which is not a solution for me.
The second issue is that I still have Grade F on “Leverage browse caching” and “Add Expires header” when testing with GTmetrix and it all happens only for .jpg files which are static resources included on my side, not any third party.
In the .htaccess there is command for .jpg to expire headers added by W3 total cache but for some reason it’s still not working.
Can you help me with any of this issue?
Thanks,
TomSite is guiaemdubai.com
- The topic ‘W3 total cache cloudflare’ is closed to new replies.