[maps.soton] Re: Updates (and bus routes stuff)
Christopher Baines
cb15g11 at soton.ac.uk
Sat Sep 20 12:53:10 BST 2014
On 20/09/14 12:37, Christopher Gutteridge wrote:
> I've deployed the version with the changes we made last week (popups
> rather than modal for buildings)
Ok, it might be worth redeploying using "grunt release", as it decreases
the size of the css and js.
> What do the timeout changes impact?
Mostly the fetching of the data.json file, it will now wait 4 (rather
than 3) seconds before aborting a request, and it will now only retry
fetching the data.json file after 5 seconds (rather than 1 second) if it
fails.
> (I'm wondering if we should try to get the phone to cache some of the
> content for speed?)
Yeah, that sounds like something worth considering. The other thing to
note, is currently the request includes the current time as a parameter
(to prevent caching). I added this as I wanted to get the file from the
server during development, but I am unsure what effect it will have for
standard users.
More information about the maps.soton
mailing list