diff options
author | Dmitry Tantsur <dtantsur@protonmail.com> | 2021-12-20 15:44:00 +0100 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2022-01-07 16:28:00 +0100 |
commit | 7043a414a8646eaf5841e87c3cf9a4790d0f8a39 (patch) | |
tree | 665e22a9a36af5f807b9477bb0d94015588afdfe /releasenotes | |
parent | 2e2d6b8eeb9219ecd237bb7c1423d1ec90ebfb87 (diff) | |
download | ironic-7043a414a8646eaf5841e87c3cf9a4790d0f8a39.tar.gz |
ImageCache: respect Cache-Control: no-store
Images can be generated on fly, so let us respect the decision of the
server to disable caching.
Also disable caching for file images: it's just waste of space.
Change-Id: I425b1915c73354af90329d5b3a1fb0a616adaa93
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/no-cache-df7caa45f3d8b6d7.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/releasenotes/notes/no-cache-df7caa45f3d8b6d7.yaml b/releasenotes/notes/no-cache-df7caa45f3d8b6d7.yaml new file mode 100644 index 000000000..87d0113ac --- /dev/null +++ b/releasenotes/notes/no-cache-df7caa45f3d8b6d7.yaml @@ -0,0 +1,8 @@ +--- +fixes: + - | + The image cache now respects the ``Cache-Control: no-store`` header + for HTTP(s) images. + - | + File images are no longer cached in the image cache to avoid unnecessary + consumption of the disk space. |