Changes between Initial Version and Version 1 of Ticket #826, comment 3
- Timestamp:
- 07/15/16 18:09:12 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #826, comment 3
initial v1 1 1 I agree that adding a configuration option seems overkill, but I would seriously considering bumping the number. 2 2 3 A reasonable Vary-header for many sites might be "Accept,Accept-Encoding,Accept-Language" (38 bytes). Tthat's really only using standard headers and almost hits the limit.3 A reasonable Vary-header for many sites might be {{{Accept,Accept-Encoding,Accept-Language}}} (38 chars). Tthat's really only using standard headers and almost hits the limit. 4 4 5 The longest Very-header we (an api) emit in production (for a request we expect to cache at least) is "Accept,Accept-Encoding,X-TummyLab-API,X-TummyLab-Last-Response-Identifier"(73 chars) - but at some point we'll probably throw at least Accept-Language in there and probably something more.5 The longest Very-header we (an api) emit in production (for a request we expect to cache at least) is {{{Accept,Accept-Encoding,X-TummyLab-API,X-TummyLab-Last-Response-Identifier}}} (73 chars) - but at some point we'll probably throw at least Accept-Language in there and probably something more. 6 6 7 7 A secondary issue is that no error logging at all is done when the request is marked as uncachable, which makes this "issue" really hard to detect. I just found it by dumb luck after introducing a new header to Vary.