summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2020-03-27 15:15:30 +0000
committerJeremy Kersten <jke@odoo.com>2020-03-31 08:54:52 +0000
commitf7d7c53cd51c402672a49f98ddebab2cce7cb6ad (patch)
tree4d80e605f2e61fbbc5bbb56ac26b117e73c3e403 /doc/reference
parent66409d470ecd21251af4b1d1aca37d9176bc0dbc (diff)
[IMP] base: server_attachment add max-age when unique is provided
Similarly to method _binary_set_headers, when we serve an attachment (e.g. image) where an unique is present in URL we add a long time of cache. We considere that the hash will be changed if attachment is updated, so while we ask for same checksum, lets the browser return the cached response. closes odoo/odoo#48653 Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions