Tags are not displaying on the map

Issue #3 on hold
Former user created an issue

For some users (Rob and Mario) on some devices the tags are not displaying, whilst for others they are.

Example: for my PC at work the tags are shown, for my Laptop at home they are not. both use Google Chrome. Ctrl + F5 does not help.

Comments (2)

  1. David Marrs

    I've checked test.udemi.org in Chrome 27, Firefox 21, Opera 12, IE 10 on Windows 8 and the tags seem to display ok for me: I'm being centred on Oxford.

    Please use developer tools in Chrome to provide more info. e.g.

    Is a GET request made when the map is moved? What parameters are sent by the request? Is a 200 response made, or is there an error? What are the contents of the response?

    If that makes no sense, I am happy to go through it on Skype at some point with someone that can reproduce the issue.

  2. David Marrs

    Found that issue was down to static/js/gmap.js caching within the browser. Discussed in Monday night's Skype call that we could possibly resolve this issue in future by appending some form of query to the request string which increments each time new js or css is rolled out

    href="/static/js/gmap.js?v=0.1.0"

    href="/static/js/gmap.js?v=0.1.1"

    etc. This should in theory cause the browser to treat the js or css as a new resource and bring a fresh copy down from the server. Or, we could do as Drupal does and minify all the js and css into one js file and one css file and have the file names updated each time the minification process takes place (and the templates that pull in those minified files update to reflect the new file names). So, basically the same but without appending a query string.

    This is not a priority at the moment though, and will be something we come back to when optimising the site.

  3. Log in to comment