You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rbackhouse edited this page Aug 23, 2011
·
2 revisions
Timestamp Checking Protocol
The lsjs loader will make a single request to the configured timestampUrl POSTing a JSON array of objects with a url property and a timestamp property.
e.g
[
{"url":"./js/dojo/_base/json.js","timestamp":"Thu, 18 Aug 2011 01:19:17 GMT"},
{"url":"./js/dojo/query.js","timestamp":"Thu, 18 Aug 2011 01:19:17 GMT"},
{"url":"./js/dojo/dom-geometry.js","timestamp":"Sun, 21 Aug 2011 12:22:05 GMT"},
{"url":"./js/dojo/json.js","timestamp":"Thu, 18 Aug 2011 01:19:17 GMT"}
]
The timestamp checker is expected to check each of the URL's in the array comparing the provided timestamp with the one on the server. If it is different it should be added to a JSON list that is returned back to the loader