ide o stranky andrewko.wz.cz vs. tries.kvalitne.cz
v php skripte !nemam! zadane
header('Cache-Control: no-cache');
header('Pragma: no-cache');
header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
cize by sa malo cachovat - konkretne v prehliadaci MSIE6
este nedavno sa cachovalo.
ale stranky tries.kvalitne.cz, kde tiez pouzivam php, a tiez je to bez header sa cachuju
diky
http://andrewko.wz.cz/index.php
http://tries.kvalitne.cz/aew_school_box/index.php
-----
pri obidvoch nie je:
header('Cache-Control: no-cache');
header('Pragma: no-cache');
header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
a v prvom pripade sa necachuje
a v druhom ano
<HTML>http://tries.kvalitne.cz/aew_school_box/index.php
GET /aew_school_box/index.php HTTP/1.1
Host: tries.kvalitne.cz
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040301 Firefox/0.8
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1,text/vnd.wap.wml;q=0.6
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
HTTP/1.x 200 OK
Date: Tue, 04 May 2004 20:16:09 GMT
Server: Apache/2.0.48 (Unix)
Transfer-Encoding: chunked
Content-Type: text/html
http://andrewko.wz.cz/index.php
GET /index.php HTTP/1.1
Host: andrewko.wz.cz
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040301 Firefox/0.8
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1,text/vnd.wap.wml;q=0.6
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
HTTP/1.x 200 OK
Date: Tue, 04 May 2004 20:16:21 GMT
Server: Apache/2.0.48 (Unix)
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 2981
Content-Type: text/html
... ani v jednom pripade se tam nic o kesovani neposila, ve zdrojaku taky nic nevidim (v jednom pripade to tam je zakomentovane, v druhem pripade vubec)
... zkus si v tom prvni udelat poradek</HTML>