ik krijg vaak een oude pagina als ik een topiclist of een topic opvraag, waardoor ik weer op (ctrl+) refresh moet klikken. (proxy's enzo staan uit hier, en het werkte bij topix wel altijd perfect)
Er zijn dan ook cache headers?!
Waarom staat er b.t.w. : u=Razor_Blade;
Ik heet al een eeuw Papa Eend? (of wordt de nieuwe nick als een soort van 'caption' in de db opgeslagen 
misschien een idee om deze toe te voegen?
Er zijn dan ook cache headers?!
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| GET /forum/list_topics/31 HTTP/1.0 Accept: */* Referer: [FORUM=31]Tweakers Huiskamer[/FORUM] Accept-Language: nl Pragma: no-cache If-Modified-Since: Tue, 06 Aug 2002 06:58:31 GMT User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: gathering.tweakers.net Cookie: sessid=**********************************; user=39408; klipklapcookie[cat_7]=a; ReactID=****************************; u=Razor_Blade; n=0; uid=28426; sid=************************; r=120; tc=***********************; unq=y Connection: keep-alive Accept-encoding: gzip, deflate Browser reload detected... +++RESP 944+++ HTTP/1.1 200 OK Date: Tue, 06 Aug 2002 06:58:43 GMT Server: Apache/1.3.26 (Unix) PHP/4.2.2 mod_gzip/1.3.19.1a X-Powered-By: PHP/4.2.2 Generator: Moo0's amazing forum Warning: if you're looking at these headers, you must have too much spare time on your hands Last-Modified: Tue, 06 Aug 2002 06:58:43 GMT Pragma: no-cache Content-Encoding: gzip Transfer-Encoding: chunked Content-Type: text/html |
Waarom staat er b.t.w. : u=Razor_Blade;
misschien een idee om deze toe te voegen?
PHP:
1
2
3
| header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Datum MOET in het verleden zijn! header("Last-Modified: ".gmdate("D, d M Y H:i:s")."GMT"); // Document MOET altijd gewijzigd zijn! header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 |