Help - Search - Members - Calendar
Full Version: HTTP headers
HTMLHelp Forums > Programming > Server-side Scripting
I have some php gz compressing, caching (and more) code which does the next:

4 files are used:
1. (gz, force cache, css external)
2. (gz, no cache, css external)
3. (gz, force cache, css internal)
4. (gz, new code, css internal)

Net headers (curl used):

I have tried some online checkers and here are REDBot results.
Page index
Page i1
Page i2
Page i3

I would like to know:
1. Which of pages above gave the best results.
2. How to solve REDBot problems / warnings.
2.1. “The resource doesn't send Vary consistently.”
2.2. “The response body is different when content negotiation happens.”
2.3. “The ETag doesn't change between negotiated representations.”
3. How to gzcompress external CSS (or any other content)?
4. How to cache page-images?

1. Is pragma cache / no-cache depreciated?
2. Is connection keep-alive depresiated?
3. Do we still need content-length?
4. How I can simulate browser which does not support GZip compression to see the unzipped content?


For example, this one looks OK for me (98/99):
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.