-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable Precache #18
Comments
You can use the excludePaths option to exclude files from the precache. {
excludePaths: ['index.html', new RegExp(/.\.map$/)],
} Any paths specified here with be filtered out and not included in the urlsToPrefetch. |
Not really, since the getFilesRecursively is using The solution is to use the I just forked the repo and did the changes, but I'm not sure if those will follow the expected behaviour of the addon, if yes I can create a PR for it :) Changes -> zzarcon@06478c1 |
@zzarcon If you have an example of a specific structure that is failing to exclude, can you describe it further? |
Closing due to no response. |
There's any way to fully disable all the cache? AKA
toolbox.precache
.My problem with the actual behaviour is that is precaching all the assets, which in my case are > 60Mb because I have hundreds of images.
So, will be posible to remove the
urlsToPrefetch
and thetoolbox.precache
call?Thanks!
The text was updated successfully, but these errors were encountered: