PHP8.1.21版本已发布
vue8.1.21版本已发布
jquery8.1.21版本已发布

PHP不缓存数据头_PHP教程

原创
2016-07-15 13:22:19 484浏览

PHP不缓存数据头

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' ); 
}

www.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...
声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。