• Hello there and thank you so much for your plug in.
    I am starting a website and I used your plugin from the beginning and activate it. and in the process of making the website as you know there will be a lot of css and stuff changing along the way. and everytime i changed a css code and clicked (ctrl+f5) on that page it would work fine. but when i revisited the page it would still show the the old css style. after a while I realized that it is cause of the cache that your plugin makes on each system that opens the webpage. well I know how it works and I should clear my device cache but from a customer point of view and someone who is not familiar with clearing cache (imagine an old person using the website) if we change something about css it won’t load the new setting for them and it will read it only from the cache on users device. there should be a thing that only read unchanged from cache and make other things refreshed each time I guess or maybe there be an option in admin panel that if we changed sth huge on our end first time everyone opens the web page or app it clears the old cache on their device and cache the new ones? I don’t know if i make it clear what the problem is. thank you so much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @soheylm6

    Thanks for sharing the issue in detail. Yes, you are right on this. I will add this bug to our list.

    Hi @soheylm6

    I have raised an issue over the GitHub.

    A simple solution that I can suggest you is to increment the version of your theme.

    Hi
    I’m having the same problem the PWA doesn’t update . It does if I manually clear my Cache.I don’t understand what you mean about “increment the version of your theme”
    I’m using the latest version of my theme. How do I increment it?

    Thanks

    Tony

    Thread Starter soheylm6

    (@soheylm6)

    Hello again. thank you so much for your response. I’ve been analysing other pwa plugins and I noticed some of them (tbh 3 of them i guess) had a section in plugin for caching strategy.
    and you could choose for each part these 4 strategy:
    1- Stale While Revalidate
    2- Network First
    3- Cache First
    4- Network Only
    for example if u choose first option (stale while revalidate) for your css and js files it will load the page fast with cache and after that replace the old cache with the new settings. they have cache strategy for font/whole website/assets/images so you could choose which part uses which strategy. I hope this will help. and I think incrementing the version of theme can’t be done by user with low expreince on wordpress as our friend in the last reply doesn’t know what it means. I think your plug in has a really good reputation and it needs a section like this in it. thank you so much for putting the issue in github. I hope you’re having a nice day.

    Same issue i am facing @soheylm6 ,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Caching Issue’ is closed to new replies.