内容 |
html 只要加在头部就可以了 asp教程做法 代码如下: response.buffer = true response.expiresabsolute = now() - 1 response.expires = 0 response.cachecontrol = no-cache response.addheader pragma, no-cache php教程做法 代码如下: header('expires: mon, 26 jul 1997 05:00:00 gmt'); header('last-modified: ' . gmdate('d, d m y h:i:s') . 'gmt'); header('cache-control: no-cache, must-revalidate'); header('pragma: no-cache'); ?> 还有一种更简单的方法,就是大家ajax时用到的?mt=随便数据
|