Skip to content

Commit 2f2cf1c

Browse files
committed
add note about empty files
1 parent 020fe42 commit 2f2cf1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/frontdoor/front-door-caching.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ In addition, Front Door attaches the `X-Cache` header to all responses. The `X-C
221221
- `PRIVATE_NOSTORE`: Request can't be cached because the *Cache-Control* response header is set to either *private* or *no-store*.
222222
- `CONFIG_NOCACHE`: Request is configured to not cache in the Front Door profile.
223223

224+
> [!NOTE]
225+
> Azure Front Door strips the `Content-Type` header for empty files when caching is enabled. To enable sending this header, use Azure Front Door rules to manually override it for such files. You also can disable caching for empty files, but this approach is less recommended as it increases the load on your origin and may impact performance.
226+
224227
## Logs and reports
225228

226229
::: zone pivot="front-door-standard-premium"

0 commit comments

Comments
 (0)