Apps/AITC: Difference between revisions

264 bytes removed ,  15 March 2012
Line 151: Line 151:
=== Optimization ===
=== Optimization ===


Listing of Apps and Devices can be qualified with a standard HTTP header:
Listing of Apps and Devices can be qualified with the header:


  If-Modified-Since: Tuesday, 28 Oct 2012 19:43:31 GMT
  X-If-Modified-Since:  


As per the HTTP spec, if the date does not properly parse, or if the list ''has'' been modified since that date, then the output is exactly as specified above already. However, if the list has not changed, then the server returns a 304 not-modified response with no body.
which behaves like the standard HTTP If-Modified-Since, only with a millisecond timestamp.
 
QUESTION: should we use etags instead?


== User Interface Considerations ==
== User Interface Considerations ==


== Implementation Notes ==
== Implementation Notes ==
668

edits