Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

ServiceWorker returns "503 OK (from ServiceWorker)" on accessing dynamic content while offline (Chrome) #168

Open
cars10 opened this issue Jun 20, 2017 · 7 comments

Comments

@cars10
Copy link

cars10 commented Jun 20, 2017

Hi, using beta16 i cannot access cached dynamic content. Chrome shows a "503 OK (from ServiceWorker)" and no content is loaded, even though its listed in the caches in chrome. beta11 works fine.

Edit:
Initially i only tested chrome (59), its broken there. Firefox (54) works as expected and loads the content correctly.

@avatsaev
Copy link

avatsaev commented Jun 21, 2017

same problem here,

Tested in Firefox, everything seems to be working fine. Chrome related issue?

@cars10 cars10 changed the title ServiceWorker returns "503 OK (from ServiceWorker)" on accessing dynamic content while offline ServiceWorker returns "503 OK (from ServiceWorker)" on accessing dynamic content while offline (Chrome) Jun 21, 2017
@BorntraegerMarc
Copy link

With beta 14 it worked fine for me

@webmaxru
Copy link
Member

I believe it's connected with 6f930b8

@lacolaco
Copy link

lacolaco commented Jun 28, 2017

As far as I can see, external dynamic contents won't cached with beta-16 (including 6f930b8).

BTW, Stephen's blog article says as following:

by creating a dynamic cache group, matching files that are fetched by the Service Worker will also be cached.

but the firebase dynamic group doesn't seem working correctly.

image

Actually, the contents is not available in offline

image

cc/ @StephenFluin

@cars10
Copy link
Author

cars10 commented Jul 17, 2017

Any update on this?

@THLAP
Copy link

THLAP commented Aug 1, 2017

I am also having issues around caching dynamic content on beta16. I am not sure if they are exactly the same as yours. See my explanation in #179.

As a side note the "performance" strategy was working for me, the only caveat being dynamic content is only cached on the second page load due to async nature of the service worker. My api calls are completing before the service worker is controlling the page. This is fine for me but at first I was expecting to load the page once and take it offline and everything work, which it didn't.

@St1c
Copy link

St1c commented Oct 10, 2017

same issue here, I'm trying to implement google maps via angular google maps library, and I'm getting 503 for async loading of the library

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

No branches or pull requests

7 participants