时间:2021-07-01 10:21:17 帮助过:13人阅读
function nocache_headers() { // why are these @-silenced when other header calls aren't? @header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' ); @header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); @header( 'Cache-Control: no-cache, must-revalidate, max-age=0' ); @header( 'Pragma: no-cache' ); }
http://www.bkjia.com/PHPjc/447000.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/447000.htmlTechArticlePHP不缓存数据头 function nocache_headers() { // why are these @-silenced when other header calls arent? @header( Expires: Wed, 11 Jan 1984 05:00:00 GMT ); @header( Last-Modifi...