the first line of my pages begins with session_start();
when i save the page using fsock_open(), this is the result:
HTTP/1.1 200 OK
Date: Mon, 06 Apr 2009 15:08:54 GMT
Server: LiteSpeed
Connection: close
X-Powered-By: PHP/5.2.9
Set-Cookie: PHPSESSID=e0ba3382dd98a7d7ba4ed224c92bc0e8; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html
without session_start(), the result is this:
HTTP/1.1 200 OK
Date: Mon, 06 Apr 2009 15:08:54 GMT
Server: LiteSpeed
Connection: close
X-Powered-By: PHP/5.2.9
Content-Type: text/html
does realy session_start() affect Cache-Control?
i want my pages to be cashed for faster loading. what i have to do? i cant eliminate session_start().