Forum Moderators: coopster

Message Too Old, No Replies

Auto-Updating content

         

hexdj

8:21 pm on Aug 29, 2005 (gmt 0)

10+ Year Member



I have some visitors telling me that whenever I update my website they're unable to see the updates right away, they have to dump their browser cache to see the updates, someone mentioned I can fix that thru PHP, how can I do this?

DaButcher

7:08 am on Aug 30, 2005 (gmt 0)

10+ Year Member



you can set content expires in the header.

hexdj

4:50 am on Aug 31, 2005 (gmt 0)

10+ Year Member



I have that. Thanks though

Any other PHP solutions would be appreciated

jatar_k

4:53 pm on Aug 31, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you can also just use good old no cache meta

<meta http-equiv="pragma" content="no-cache">