JD_Toims - 1:16 am on Dec 18, 2013 (gmt 0)
The quoted response is identical to what Live Headers gives me when I try the same request in MAMP. (Right down to php version: You didn't get it from your own MAMP did you?) That's for any request, whether html physical file or html rewritten to php.
Nope, it came from web2008's LiveHeaders example above, meaning that's the response returned by a "live" server -- Have a look at the last header-set in the post preceding yours.
But I have the same lines in my local file's htaccess, and the headers are absent.
That's what I've seen previously on "live" servers too, in fact, yours is the first I've seen send both those two via .htaccess rather than having to set them in PHP -- I think I've seen cache-control sent by one server before not expires or content length -- Note: I wasn't gzipping when I was testing, so content-length may be more "normal" to be sent without manipulating anything in that case.