1、
response設置
response.setHeader
各種不緩存的header頭。
( "Pragma", "no-cache" );
( "Cache-Control", "must-revalidate" );
( "Cache-Control", "no-cache" );
( "Cache-Control", "no-store" );
1、頁面head設置
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">