cloudflare only – no swift:
View post on imgur.com
https://imgur.com/bnN8O2Q – cloudflare shows “hit” and note the ttfb
View post on imgur.com
Swift only / Default (no swift or cloudflare):
View post on imgur.com
swift + cloudflare
https://imgur.com/TWwM3ue – look at the header it keeps saying expired and thus results in more ttfb.
View post on imgur.com
https://imgur.com/LWWkL5g – other assets are caching on cloudflare
View post on imgur.com
so my question is, i want to take advantage of swift’s caching with cloudflare’s cdn to have my content in multiple locations, I want it to include the “/”(html page itself) in cloudflare –like it usually does without swift– so that i get the speed benefits from both swift and cloudflare.
I tried:
-purging both of them
-reinstalling swift and resetting cloudflare
I’m having another problem here: https://ww.wp.xz.cn/support/topic/unable-to-detect-https/
Could the 2 be related to each other? like since it’s caching only http, somehow cloudflare is caching what swift is caching and skipping the root html?
Please help
Okay, since i fixed my previous problem will be testing this again and hopefully have it be fixed as well.
Edit: The problem still persisted but i fixed/bypasses it by disabling Gzip and browser caching from swift settings –> Caching. I think my server already caches using gzip, so not like i’m losing anything but idk why it would do that.
I turned them back on and had the problem again, so im pretty sure it’s from them.. it was setting the html page expire’s to today.
Mark as solved please, but there might be a bug in one or both of these settings mentioned above, fix please 🙂