Fix caching headers, drop HTTP/1.0 support
What does this MR do and why?
We've discovered that default_cache_headers sets Pragma: no-cache for HTTP/1.0 compatibility, which breaks caching in the application. For example, if you set expires_in 1.minute it translates to Cache-Control: max-age=60, private, but if you also set Pragma: no-cache, browser just ignores it and still makes the request.
In this MR we are removing all Pragma: no-cache references. I do not believe this is a breaking change since we rewrite HTTP/1.0 requests into HTTP/1.1. That means that we already do not follow HTTP/1.0 specification and are going to reflect that in our code.
The proposal issue: #391874 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #391874 (closed)