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

Install cache manifest #25

Open
mvl22 opened this issue Sep 8, 2011 · 4 comments
Open

Install cache manifest #25

mvl22 opened this issue Sep 8, 2011 · 4 comments

Comments

@mvl22
Copy link
Member

mvl22 commented Sep 8, 2011

Need the HTML5 cache manifest installed, so that download times are reduced.

http://diveintohtml5.org/offline.html
has some useful pointers.

@annapowellsmith
Copy link
Member

Actually (having read up on this previously) it doesn't work quite like that - basically it only has any effect at all if you're offline.

(Caching while online is dependent on our cache-control headers, so we should make sure we're using them correctly.)

With cache-manifest, when the user is offline, you can configure it either to show them the cached file, or a fallback file that is only used while offline.

I think if our users are offline, we should not actually show them anything except their saved routes as text - because showing them anything else is likely to be misleading - they will think they are offline.

I've created cyclestreets/mobileweb#4 as a ticket for a new, special offline version of CycleStreets that only shows saved routes as text.

(I looked into caching map tiles, but the browser cache is generally only about 2MB so we wouldn't be able to cache a meaningful number. )

@annapowellsmith
Copy link
Member

s/they will think they are offline/they will think they are online/ above!

@mvl22
Copy link
Member Author

mvl22 commented Sep 12, 2011

Closing this as basically the manifest stuff wasn't what I thought it was.

Shame though - it would be a useful HTML5 feature if caching could be explicitly set via a manifest!

@mvl22 mvl22 closed this as completed Sep 12, 2011
@mvl22
Copy link
Member Author

mvl22 commented Sep 27, 2011

@mvl22 mvl22 reopened this Sep 27, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants