MediaRequestHandler ignores the MediaResponse.Cacheability setting value


Description

The MediaResponse.Cacheability setting value might be ignored. As a result, the media response never gets cached:

Cache-Control: no-cache, no-store

The issue occurs when the disableBrowserCaching site property is true, which is by default (inherired from the DisableBrowserCaching setting).

Solution

To resolve the issue, consider the following options: