Skip to content
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

Allow use of ReferenceProviders to pull in required/supporting assets for Pre-Cache and Fallback resources #13

Open
davidjgonzalez opened this issue Aug 13, 2018 · 0 comments

Comments

@davidjgonzalez
Copy link

davidjgonzalez commented Aug 13, 2018

Update: perhaps this is not a great idea since most paths on web pages to images should not be directly to the referenced resource; but rather through some proxy (image component, named image transform, etc.) which would not be fixed by this.

Fallback and Pre-Cache resources (defined in the Cloud Service and exposed via the service-worker.json) are typically paths to pages. However, if these pages require supporting images/etc., they are not immediately loaded, resulting in "broken" experiences on these precached pages.

We should look at hooking in the reference provider API and including referenced paths in the pre-cache/fallback lists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant