Filter the neverCacheUrls in the service worker of SuperPWA.
apply_filters( 'superpwa_sw_never_cache_urls', '/\/wp-admin/,/\/wp-login/,/preview=true/' );
I’m trying to add one file to the neverCacheUrls via this filter hook ‘superpwa_sw_never_cache_urls’ in order to avoid the service worker to cache that file (component.js). Please refer to some documentation or thread. This page doesn’t say much https://superpwa.com/codex/superpwa_sw_never_cache_urls/ Thanks in advance
Thanks for using SuperPWA. Please refer this comment where I helped another user use this filter: https://github.com/SuperPWA/Super-Progressive-Web-Apps/issues/24#issuecomment-395009238
You have to replace `\/sosyal` with `component.js`.
Hope this helps.
Learn more about Progressive Web Appsand get latest updates about SuperPWA
Future of SuperPWA: Kindly show your interest to either take over this project or in a premium version. Yes, sure →