php – 标题(“Expires:0”)是做什么的?

参见英文答案 > HTTP Expires header values “0” and “-1”3个
有谁能解释一下?
一般用于防止缓存.但是,本文档可能会为您提供更好的解释:

http://download.oracle.com/docs/cd/E13158_01/alui/wci/docs103/devguide/tsk_pagelets_settingcaching_httpexpires.html

报价:

Never use Expires = 0 to prevent caching. The Expires header is sent by the Remote Server and passed through to the browser by the Portal Server. Unless the time on all three machines is synchronized,an Expires=0 header can mistakenly return cached content. To solve this problem,set the Expires header to a fixed date that is definitely in the past.

相关文章

统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
前言 之前做了微信登录,所以总结一下微信授权登录并获取用户...
FastAdmin是我第一个接触的后台管理系统框架。FastAdmin是一...
之前公司需要一个内部的通讯软件,就叫我做一个。通讯软件嘛...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...