• I’m using SuperPWA recently. Today I have updated a plugin (leaflet-map). Only when I disable SuperPWA and clear any browser cache and memory I get my website working. How do I force to clear and reload SuperPWA?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    Sorry for facing the delay in responding as I was not well for the past few weeks.

    SuperPWA always caches the latest content/images/scripts available from server to the user-end as we are using Network first caching strategy.

    Could you please share the website URL and also please do let me know whether any caching plugin is using over the website.

    Thread Starter hupe13

    (@hupe13)

    Hi Jose,

    I use a function to hide the version of a file, this was the main reason.
    The caching function in browsers is complex. I can disable caching in developer mode. It would be nice if that could be considered by SuperPWA.
    My server sends a cache-control header of max-age=86400 for most files.

    But not every developer implements file versions. It would be very nice, if I could force SuperPWA to reload any web content, e.g. if a plugin updated.

    Thank you very much.

    Thanks for your response. As for service workers/caching API, they usually update the contents or files based on by checking whether the version of the file gets changed or not.

    I think there’s not any other solution available to check whether the files get updated/changed other than checking the versioning of file. Anyway, I will forward this issue with our developers and will get back to you if there’s any fix for this.

    Thread Starter hupe13

    (@hupe13)

    Thank you very much.

    Thread Starter hupe13

    (@hupe13)

    I searched in Internet and found https://stackoverflow.com/questions/41636754/how-to-clear-a-service-worker-cache-in-firefox

    To clear a Service worker cache open in Firefox the url about:debugging#workers
    In Chrome open the url chrome://inspect/#service-workers

    This I can do as an expert, but a normal user can’t. This is to complicated for him/her.

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