Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Last-Modified header
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vegarl
n00b
n00b


Joined: 20 Sep 2007
Posts: 1

PostPosted: Thu Sep 20, 2007 11:51 am    Post subject: Last-Modified header Reply with quote

Hello,

Quote:
status: 200
Date: Thu, 20 Sep 2007 11:46:58 GMT
Server: Apache
X-Powered-By: PHP/5.2.4-pl2-gentoo
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: private, max-age=10800, pre-check=10800
Set-Cookie: pma_fontsize=100%25; expires=Sat, 20-Oct-2007 11:46:58 GMT; path=/phpmyadmin/; httponly
Last-Modified: Mon, 17 Sep 2007 02:30:23 GMT
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8


For some reason, the Last-Modified header is added automatically on many PHP scripts. This is creating cache problems. The timestamp is the timestamp which the PHP-file was last changed.

I'm using PHP 5.2.4 with suPHP.

Does anybody have a solution for this?
Back to top
View user's profile Send private message
sschlueter
Guru
Guru


Joined: 26 Jul 2002
Posts: 578
Location: Dortmund, Germany

PostPosted: Sat Sep 22, 2007 12:09 pm    Post subject: Reply with quote

I think it shouldn't cause cache problems because the "Expires" line denotes a date in the past.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum