Removal of Pragma and Expires response headers

Category: API

Summary: Removal of Pragma and Expires response headers

These HTTP response headers will no longer be returned:

  • Pragma
  • Expires

There will be no change to the application behavior as these headers were intended to be used for HTTP Caching by browsers, but were not used as the Cache-Control header was also set

Context: The Pragma and Expires response headers are not used by browsers for HTTP caching when the Cache-Control response header is present. With all responses from Public Api having the Cache-Control header set, pragma and expires are unneeded

Impact: Any applications implementing HTTP caching should rely on the Cache-Control header. All browsers should already be using the Cache-Control header

Date of Change: On or after 9/17/2021

Impacted APIs:
All APIs are impacted since these headers are added to every HTTP response.

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.