Does it make sense to cache pages like

Does it make sense to cache pages like this https://akami-solutions.cc/akami-cgi/icon/envelope ? Because CloudFlare doesnt think so :0010shiba_think:
13 Replies
maj
maj9mo ago
CF considers it dynamic content, probably because it doesn't come with a file extension?
Kasumi
KasumiOP9mo ago
:0047k3lly_think: prob. I hope setting the Cache Headers will help
Hello, I’m Allie!
There is a lot of things Cloudflare won't cache by default, to ensure that they don't accidentally break anything. Though, just because something isn't cached automatically doesn't mean it wouldn't benefit from being cached anyway
Kasumi
KasumiOP9mo ago
Ik but there are just static Fontawesome icons so yea :gx_laugh: The only thing that can be changed and should not be changed are the changed Icons you can do by setting the URL parameters x3
Hello, I’m Allie!
Yeah, I just meant that Cloudflare itself has no idea that it is a static asset based on the info it is given, so it errs on the side of caution
Kasumi
KasumiOP9mo ago
Ye understandable
Kasumi
KasumiOP9mo ago
Is it possible to force CloudFlare cache that in any way?
No description
Hello, I’m Allie!
Add a Cache Rule?
Kasumi
KasumiOP9mo ago
idk which one
Kasumi
KasumiOP9mo ago
Do I understand it right? On default it ignores query string. Like its handled each. If query string is given it has a different cache?
No description
Kasumi
KasumiOP9mo ago
Its a hit tanks
No description
Kasumi
KasumiOP9mo ago
I dont check it. Some of them makes a HIT others then a MISS but its 1 by 1 almost the same request just with a different Icon :kitty_dead:

Did you find this page helpful?