For Workers & Pages, what is the name of the domain?
What is the error message?
A cache with a long life cycle can speed up repeated visits to your page
What is the issue or error you’re encountering
cache zaraz and cloudflare static
What steps have you taken to resolve the issue?
None
What are the steps to reproduce the issue?
I’m facing a problem on my website. The item “Serve static resources with an efficient caching policy”.
In page speed, a link with zaraz and other cloudflare appears.
Rather, it’s a warning suggesting the ways for improvement.
Since you’re using Zaraz which pulls assets and resources from Cloudflare domain, which we cannot control, I am afraid you’re a bit out of luck here.
Only the Developer team of Cloudflare could affect to anything related to it in some future, if so.
The issue here lies if the Developer team decides to cache the files for longer period of a time, and then something happens, or has critical issue, has to be fixed or new feature implemented, then the old cached file would remain cached for e.g. 1 year or longer in all of your Website visitors Web browsers, meaning they would see some error or the zaraz wouldn’t fire as you’ve configured it, therefrom you’d wrote another topic where you’ve got issue with Zaraz not updating or pushing changes, while even you as a Webmaster would have a cached version in your Web browser. The only way to fix it would be to clear the cache (easy for you, but not for your Website visitors).
The s.js script is generated dynamically, therefrom it won’t be good for you to give it a large cache lifetime if possible.
The other email-decode.min.js script is related to the Email obfuscation feature being enabled for your zone:
I’d suggest to ignore this warning, since it’s related to the 6KiB, on nowadays 3/4/5G mobile network speeds, it’s negligible just to get some few points better overall score on Google Page Speed tool (doesn’t affect user experience, nor lower rankings on Google Search if that’s the concern here).