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

If-Modified-Since header support breaking Urchin? #63

Open
sulkaharo opened this issue Jan 1, 2017 · 1 comment
Open

If-Modified-Since header support breaking Urchin? #63

sulkaharo opened this issue Jan 1, 2017 · 1 comment

Comments

@sulkaharo
Copy link
Contributor

nightscout/cgm-remote-monitor#2393 adds support for If-Modified-Since header for Nightscout. I don't know if this is related, but upon deploying the branch the first time on a site that gets loaded by Urchin, the watchface absolutely refused to update for the first hour or so, despite Pebble watch and app restarts. Is the app using anything that might be setting the header, resulting in unexpected behavior?

@mddub
Copy link
Owner

mddub commented Jan 8, 2017

The app sets only Cache-Control: no-cache, here, but it's possible the Pebble app is adding its own headers. The JavaScript for a Pebble app runs in a webview-like sandbox with subtle differences between iOS and Android. I'd check by logging the headers in the requests made by the watch.

Is the behavior upon deploying reproducible?

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

2 participants