Dynamic content with cache everything page rule

Hi,

I set the cache everything page rule and my site feels way faster upon revisiting, however I have a situation.

My theme has an option to set up 4 different header images and they are randomly displayed when someone visits. If I keep the page rule on, only cached image gets displayed? If so, is there any way to avoid that?

Try Page Rules like

https://www.domain.com/path/to/your/image.jpg
or
https://www.domain.com/path/to/your/image/folder/*
Cache level: Bypass

Place that rule in a position before your Cache Everything rule.
There are several ways to do this with one or more rules.

Thank you for your reply but those links are 404 error. How can I see them?

That’s Just an example. Replace it with your own values when creating Page Rules.

Sorry about my stupid question, didn’t really pay attention to those URLs. I’ll set up like yours, appreciate it.

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.