Index: openacs-4/packages/acs-subsite/www/register/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/register/index.tcl,v diff -u -r1.15 -r1.16 --- openacs-4/packages/acs-subsite/www/register/index.tcl 7 Aug 2017 23:47:59 -0000 1.15 +++ openacs-4/packages/acs-subsite/www/register/index.tcl 3 Sep 2024 15:37:34 -0000 1.16 @@ -15,14 +15,25 @@ } } +# +# Avoid page caching, across all browsers, no matter how the other +# site wide caching parameters are set. For discussion and details, +# see: +# +# https://stackoverflow.com/questions/49547/how-to-control-web-page-caching-across-all-browsers +# +template::head::add_meta -http_equiv Cache-Control -content "no-cache, no-store, must-revalidate" ;# HTTP/1.1 +template::head::add_meta -http_equiv Pragma -content "no-cache" ;# HTTP/1.0 +template::head::add_meta -http_equiv Expires -content "0" ;# Proxies + set subsite_id [ad_conn subsite_id] set login_template [parameter::get -parameter "LoginTemplate" -package_id $subsite_id] if {$login_template eq ""} { set login_template "/packages/acs-subsite/lib/login" } -ns_log notice "register/index.tcl: login_template <$login_template> host_node_id <$host_node_id>" +#ns_log notice "register/index.tcl: login_template <$login_template> host_node_id <$host_node_id>" # Local variables: # mode: tcl