-
Notifications
You must be signed in to change notification settings - Fork 71.8k
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
Disabled caching for /pebble #23
Disabled caching for /pebble #23
Conversation
move static files into /static
and other dynamic elements.
If I am correct, this /pebble header indicates no caching will happen. UPDATE: the page reloads as expected and is not cached.
|
This isn’t used at the current time.
Added “dateformat” package. Plus some code reorganization.
Added “dateformat” package. Plus some code reorganization.
Added “dateformat” package. Plus some code reorganization.
Added “dateformat” package. Plus some code reorganization.
Adding socket.io.js to nightscout.appcache, plus a little cleanup.
I believe this is ready to merge with the master! |
I also considered including some js/css minification. But since they are being gzipped by the server before being sent to the browser, and are being cached so darn well, I don't see any reason to complicate things further. |
Should this be merged into the master now? Nevermind, somehow I missed your comment from yesterday ("Once Jason weighs in, I'm keen merge it in and get some people to try it out.") |
I agree that /pebble should not be cached, and thus, yes merged into master.
From: Brian Hanifin [mailto:[email protected]] Should this be merged into the master now? — |
Are you happy with the files being cached? I just realized I should have provided this list long ago. Is it too aggressive?
|
Greg, we are discussing this further. There is an opinion that perhaps only the audio files should be cached. |
I think it's fine that the others are cached. It's bonus. On Sat, Jun 28, 2014 at 12:19 AM, Brian Hanifin [email protected]
|
to only include audio, favicon, and google fonts. HTTP Header Cache caches all.
to only include audio, favicon, and google fonts. HTTP Header Cache still caches all.
so we can utilize SSL without breaking the appearance of the site.
Please consider the newer pull request for the master branch. |
Refresh dev from nightscout/dev
and other dynamic elements.