Jump to content

PHP header / cache


johnsmith153

Recommended Posts

I want to set the correct header / cache values for a site.

 

I am working on a social network / forum style site.

 

I want to ensure that every page a user requests results in a fresh one being requested from the server as most content changes by the minute.

 

(1) How would I set this?

 

(2) Also, can I prevent nav bars being reloaded as these never, ever change.

Link to comment
https://forums.phpfreaks.com/topic/218438-php-header-cache/
Share on other sites

(1) Can you stop it from reloading the nav bar - as it would be better of course if it only reloaded parts that needed it?

 

(2) If I didn't specify any headers, how much of an impact would it have? (e.g. new forum posts not seen for days or until user clears cache ??)

Link to comment
https://forums.phpfreaks.com/topic/218438-php-header-cache/#findComment-1133272
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.