Fix TechDocs backend cache bug on HEAD request.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-03-18 11:23:50 +01:00
parent e47370f9e6
commit 7762d54200
3 changed files with 29 additions and 1 deletions
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs-backend': patch
---
Fixed a bug affecting those with cache enabled that would result in empty content being cached if the first attempt to load a static asset from storage were made via a `HEAD` request, rather than a `GET` request.