SuperPWA CSS caching problem while editing
-
Hi, thank you very much for SuperPWA! I installed SuperPWA on my WordPress site. It works well and I am able to use “add to home screen” on my different mobile devices. I don’t see any bugs with that.
As a note: I do not have any WordPress caching plugins installed and my server has no auto caching.
The trouble I am having is when I edit my website. (I am still developing my website.) If I make a change to the HTML the change will show up correctly in the PWA when I refresh the app. For instance I change a word, save the page, refresh the app, and the change shows up nicely.
HOWEVER, if I make a change to the child theme’s CSS, my changes do not show up in the PWA. If I refresh the app, close the app, clear the app data, it still will show my OLD CSS. My new CSS changes are not showing in the PWA.
When I use Chrome dev tools to test my changes (my desktop PC) I am also having trouble now seeing my changes. I have the Chrome dev tools open with the checkbox to not use the cache while open. I also tried to use a private tab to test my changes. But there is still some unexpected caching happening ever since I installed SuperPWA.
Everything works fine if I unistall SuperPWA.
1. So my question is, does the Service Worker or SuperPWA cache CSS and not let new changes show up in the app even if it is refreshed?
2. How can I fix this so that I can see immediately the result of my CSS edits again while I am continuing to develop my website?
Thanks!
The topic ‘SuperPWA CSS caching problem while editing’ is closed to new replies.