2009/9/11 Domas Mituzas midom.lists@gmail.com:
Hi!
Speaking of which, could we exempt api.php from this?
We could, we may, I just did it, though...
Yay, thanks!
can anyone explain the C-C header logic to me? For now I see it is mostly:
Cache-Control: s-maxage=0, must-revalidate, max-age=0 Expires: Thu, 01 Jan 1970 00:00:01 GMT
Also, opensearch has this: Cache-Control: s-maxage=1200, must-revalidate, max-age=1200
what is the 'must-revalidate' doing here? why is there no 'public', etc?
"It sets sane Cache-Control: headers on its own," - does it? :)
I guess we need public instead of must-revalidate in some places. Someone asked if we shouldn't add must-revalidate conditionally [1], but when I asked on what condition (hey, I don't know all that much about C-C headers, I'm just the code monkey here :P ) I got no response. If someone tells me what the correct behavior is, I'll happily implement it.
Roan Kattouw (Catrope)