uliverse Posted December 8, 2020 Share Posted December 8, 2020 Hi. In my template I call images the standard way ($image = $event_item->page_image->size(640, 480, $options); $options are defined as well in the template, of course. Caching is enabled for the template in use. On desktop this works normally. But on mobile browsers I get strange behaviour: after changing an image on a page, the new image shows up on desktop, but not on mobile. Only after clearing cache (PageRender module) the correct image shows up... Link to comment Share on other sites More sharing options...
Zeka Posted December 8, 2020 Share Posted December 8, 2020 Hi @uliverse Probably on the desktop you are using hard refresh or opening your page while your ChromeDev tools are opened ( where 'disable cache' is checked). Actually, it's normal behaviour when your desktop/mobile browser is caching image, documents etc. There is a submodule in the ProCache module that helps in such a situation https://processwire.com/blog/posts/pw-3.0.98-procache-buster/ 1 Link to comment Share on other sites More sharing options...
uliverse Posted December 9, 2020 Author Share Posted December 9, 2020 No, the caching is definitely server side. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now