Having issues with the cookie bar caching and creating LCP issues as the image of the bar is being cached. Could anymore help with this please?
You can set the Cache-Control for the cookie bar image to no-cache
at your origin, or create a Cache Rule (beta) to bypass cache for that image:
If your cookie bar image has the URL:
https://example.com/path/to/cookie/bar/image.png
Something like this could work:
When requests match...
URI Path starts with /path/to/cookie/bar/
Then… Bypass cache