On 02/09/2008, at 7:39 PM, Henrik Nordstrom wrote:
tis 2008-09-02 klockan 11:28 +1000 skrev Mark Nottingham:
Random thought: when an origin is doing one of these, is / can it be
noted in cache.log somehow? Would be useful, at least for accelerator
setups...
Log when an URI goes from Vary to non-Vary during normal requests
should
be fairly easy. Just a debug statement in the right code path..
That would be cool...
It's harder to log when the server behaves bad wrt ETag, doing so
would
require interpreting Accept-Encoding and Content-Encoding and detect
when the server responds with Vary: Accept-Encoding and an ETag
matching
an object with incompatible encoding.
Sounds like it's not worth the effort.
But both these really belong in tools such as the cacheability
engine..
Hint taken; I've been meaning to dust that code off for a while now.
Regards
Henrik
--
Mark Nottingham mnot@xxxxxxxxxxxxx