sendCacheHeaders: Wrong usage of Pragma: public and no-cache
Given chache-headers are turned on via config.sendCacheHeaders = 1
class.tslib_fe.php outputs "Pragma: public" which is plain wrong.
Additionally class.tslib_fe.php outputs "Pragma: no-cache" which is depricated since HTTP/1.1.
- "Pragma: public" as http-header-response, never existed in HTTP/1.0 and neighter in HTTP/1.1, as public is implicit, thus should be removed.
- "Pragma: no-cache" is deprecated in HTTP/1.1 and should also be removed, since "Cache-Control: no-cache ..." is returned anyway and correct.
- remove "Pragma: public"
- remove "Pragma: no-cache"
Patchfile is attached
RFC Hypertext Transfer Protocol -- HTTP/1.0
Hypertext Transfer Protocol -- HTTP/1.1
(issue imported from #M16737)