Cache Control In Drupal 7 -


i have drupal site if view request header cache control, set following:

no-cache, must-revalidate, post-check=0, pre-check=0

however, i'm not seeing anywhere in code headers set.

i'm looking add no-store cache control, , able achieve doing following:

drupal_add_http_header('cache-control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); 

to preprocess_html function of theme. however, want ensure i'm doing right away , thats i'm not overwriting drupal default or if there better way set header.

i did not have in .htaccess in regard cache control.

thanks.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -