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
maj4w ago
CF considers it dynamic content, probably because it doesn't come with a file extension?
Akama Aka
Akama Aka4w 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
Akama Aka
Akama Aka4w 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
Akama Aka
Akama Aka4w ago
Ye understandable
Akama Aka
Akama Aka3w ago
Is it possible to force CloudFlare cache that in any way?
No description
Hello, I’m Allie!
Add a Cache Rule?
Akama Aka
Akama Aka3w ago
idk which one
Akama Aka
Akama Aka3w 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
Akama Aka
Akama Aka3w ago
Its a hit tanks
No description
Akama Aka
Akama Aka3w 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: