Mercurial > libervia-web
comparison src/browser/sat_browser/xmlui.py @ 1019:34240d08f682
pages: HTTP cache headers handling:
when checkCache is used, HTTP headers handling cache are now used:
- ETag is first checked, using a hash of the rendered content
- Last-Modified is used as a fallback is client is not handling ETag
When suitable, a HTTP 304 code (Not Modified) wihtout body is returned instead of the whole page.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 21 Jan 2018 13:14:06 +0100 |
parents | 8f2c1ea36e96 |
children | f2170536ba23 |
comparison
equal
deleted
inserted
replaced
1018:78af5457d3f8 | 1019:34240d08f682 |
---|