header( 'Content-Type: application/json' );
header( 'Pragma: no-cache' );
header( 'Cache-Control: no-cache, no-store, max-age=0' );
header( 'Expires: 1L' );
取自 spring 框架中的
MappingJacksonView
header( 'Content-Type: application/json' );
header( 'Pragma: no-cache' );
header( 'Cache-Control: no-cache, no-store, max-age=0' );
header( 'Expires: 1L' );