currently i have an issue with the caching of my wordpress page in CF.
Whats the problem(s):
- I use the pro plan in cf
- dns and all the things works fine
- page rules are enabled an on
- one to secure the admin area
- one to disable performance with elementor pages
- one to enable cache wot all /wp-/ pages
- WAF is also on
- Argo is on
- If you need any other info about the setup, please contact me
My Wordpress setting:
- Cloudflare Wordpress Plugin is installed and enabled
And i think, here is the problem: There was another plugin called Autoptimize that was enabled if i enable install and setup cloudflare.
The Autoptimize plugin is deactivated and removed.
And then, the problems began!
I put here the result of a Webpagetest:
As you can see, the first test looks completely destroyed.
The second test looks normal.
Why lloks the first test destroyed?
The delivered page contains “optimized” files like content/cache/autoptimize/css/autoptimize_4b728034d747c4548391e97315be9f54.css
and yep, thats a 404, because the file isn´t on the server anymore.
But if i completely purge the CF-Cache, the problem persists.
I can reconstruct the behavior also on my local machine.
1 purge cache on cf
2 kill browser cache
3 open a page --> destroyed
4 reload with F5 --> normal behavior
5 Goto step 1
6 Goto step 2
If i enable the developer mode on CF or bypass the dns setting to my origin webserver, then there is no problem with the site, so i believe that the “destroyed” pages are persistent in cf.
But how can i solve such a problem?