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

Browser caching JSON responses and serving it to users, instead of HTML app #137

Closed
joepio opened this issue Jun 16, 2021 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@joepio
Copy link
Member

joepio commented Jun 16, 2021

Some browsers (like and chrome on browser) show a JSON result on re-opening an app.

@joepio joepio added the bug Something isn't working label Jun 16, 2021
@joepio
Copy link
Member Author

joepio commented Jul 5, 2021

Not sure if this is the same issue, but if you close a resource tab, and re-open that tab, the fetched JSON always fails to parse for some reason.

@joepio
Copy link
Member Author

joepio commented Jul 5, 2021

I've added the "Cache-Control", "no-store, no-cache, must-revalidate, private" headers to both the single page app as individual resource.

joepio added a commit that referenced this issue Jul 5, 2021
@joepio joepio closed this as completed Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant