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.
Any possible way to exclude woocommerce ?
Will you please contact our technical team from here- https://superpwa.com/contact/ they will help you as soon as possible.
how to exclude woocommerce?
Learn more about Progressive Web Appsand get latest updates about SuperPWA