This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
forked from nightscout/cgm-remote-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upgraded from node-static to Express, and now the site caches like a champ!
Upgraded from node-static to express.
and now the site caches like a champ!
Tested by deleting everything, running npm install from scratch. This helps ensure that only the files in the static subdirectory can be served. Should eliminate serving config files via http.
move static files into /static
and other dynamic elements.
…/direction-sync gets merged
fixed typo in direction mapping
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.
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.
Tested using curl, sending the if-modified-since header, and monitored using chrome. Reloads sources when they have changed, otherwise allows using cached version.
When adding retrospective, the brushing extent should factor in the 30 minute offset when displaying "now".
This allows the browser to cache things better. Re-uses same media object across alarms.
Express cache
Caching these files this aggressively is trouble. :)
Fix now-line placement to be sensitive to when panning is or isn't being used. This allows fixes a problem where the now-line was off by ten minutes.
now testing on azure
on both Azure and Heroku!
A number of people using recent sources experimenting with caches will need to bust the cache at least once. While we have correct caching implemented now, the previous caching implementation requires one busting in order to clear things through.
Express cache
moved to watch the community branch.
nightscout.appcache is now a static file in /static
The first bgdelta was always 0, which is incorrect. This allows the first item to have a delta.
bgdelta also
… it was unnecessary.
Express migration + website caching - merge fantastic work from @brianhanifin
brianhanifin
added a commit
that referenced
this pull request
Jul 1, 2014
Merging new nightscout master
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.