-
Notifications
You must be signed in to change notification settings - Fork 19
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
Images Not Caching #5
Comments
I think there're two options to cache images with Google Workbox:
I think you can treat different images with different strategies: precache_glob_patterns:
- "{js,css,fonts}/**/*.{js,css,eot,svg,ttf,woff}"
- index.html
- "my-critical-image/path/*.{png,jpg}"
runtime_cache:
- route: /img\/embedded\/within\/my\/post
strategy: cacheFirst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great plugin, this is exactly what I need for my use case!
Everything is working as designed, however the Service Worker does not cache images embedded within the posts (it does cache heading images).
Is this by design or am I missing something? Any help would be greatly appreciated?
The text was updated successfully, but these errors were encountered: