Hi all,
I am using newsmag with movile theme and amp and have cache plugins like wprocket. I tried clearing all cache including varnish cache, wp rocket cache, cloudflare cache but the mobile theme is still showing old version of my site and i am not able to know how to fix this. Please help to have the mobile theme clear its cache everytime a post is published or changes are made.
Site: androidcrunch.com
Hi,
The mobile can’t have serious caching issues, because the theme doesn’t have a cache. In normal circumstances it would be impossible for a deactivated plugin to still function.
If I check the website now, I get the correct desktop version https://prnt.sc/aoTMyo8dzEX- and the same version on mobile (responsive) https://prnt.sc/8zNRk7pgiFzn
But if I refresh the page a few times, the design gets broken. As I see it the mobile theme is not active however, it’s just the design of the desktop page getting broken. This is not the mobile theme https://prnt.sc/ajvt4_Uv9xz5
And if I add the design back, it looks fine – https://prnt.sc/3YjuNvepe5XW
As I see it the wp rocket feature to remove the unused CSS is removing much more than it should. I suggest switching to the other option https://prnt.sc/WFHuk2xLzUcA Then clear all caches again and it should be fine.
Let me know.
Thank you!
Thanks for the tip, I moved it to the second option in wprocket instead of remove unused css option. But I deleted the mobile theme plugin already as it was not refreshing the content even after clearing cache. This is why you are seeing desktop option.
Please also let me know if the design is still showing broken on your end after changing to load CSS asynchronously option.
Thank you.