Reputation: 185
Hello I want to analyze & understand at first place and then optimize the HTTP header responses of my site. What I get when I fetch as Google from webmasters is:
HTTP/1.1 200 OK
Date: Fri, 26 Oct 2012 17:34:36 GMT
// The date and time that the message was sent
Server: Apache
// A name for the server
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
// P3P Does an e-commerse store needs this?
ETag: c4241ffd9627342f5f6f8a4af8cc22ed
// Identifies a specific version of a resource
Content-Encoding: gzip
// The type of encoding used on the data
X-Content-Encoded-By: Joomla! 1.5
// This is obviously generated by Joomla, there wont be any issue if I just remove it, right?
Expires: Mon, 1 Jan 2001 00:00:00 GMT
// Gives the date/time after which the response is considered stale: Since the date is set is already expired, this creates any conflicts?
Cache-Control: post-check=0, pre-check=0
// This means site is not cached? or what?
Pragma: no-cache
// any idea?
Set-Cookie: 5d962cb89e7c3329f024e48072fcb9fe=9qdp2q2fk3hdddqev02a9vpqt0; path=/
// Why do I need to set cookie for any page?
Last-Modified: Fri, 26 Oct 2012 17:34:37 GMT
X-Powered-By: PleskLin
// Can this be removed?
Cache-Control: max-age=0, must-revalidate
// There are 2 cache-controls, this needs to be fixed right? which one is preffected?max-age=0, must-revalidate
?post-check=0, pre-check=0
?
Keep-Alive: timeout=3, max=100
// Whats that?
Connection: Keep-Alive
Transfer-Encoding: chunked
// This shouldnt be deflate or gzip ??
Content-Type: text/html
Upvotes: 1
Views: 4402
Reputation: 1985
Upvotes: 2