Replace absolute cache control with ETag
authorDan Scott <dscott@laurentian.ca>
Sun, 2 Apr 2017 23:03:16 +0000 (19:03 -0400)
committerDan Scott <dscott@laurentian.ca>
Sun, 2 Apr 2017 23:03:16 +0000 (19:03 -0400)
commit5be1ce1e459776e7ef1757d64f170c43ba8f5f4b
tree2f6c6975c530eb983478a85ecd4fe7aea00cbcf0
parenta511b6de43a593aaf9a5425d746a0f43546404f9
Replace absolute cache control with ETag

Hard-coding no-store / expires: -1 into the handler prevents
the possibility of caching responses, which we might want for
offline mode. We can use the ETag header to get clients to
always try a network request; if they have connectivity, then
the server will always return an updated response.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm