The browser can safely not check for new versions until the expire date has passed. Setting this up in Apache is easy.
这个Expires HTTP头包含页面过期的时间,这样就可以避免浏览器在页面过期时间之前发送版本检查的请求。
This snippet sets the cookie called userid as well as the expire date to be 30 days from the current date.
这段代码设置cookie userid,并将expire日期设置为自当前日期之后30天。
First, we have to construct an ISO8601 date and set the policy document to expire by it.
首先,我们需要创建一个ISO 8601日期,然后将它设置为策略文档的过期时间。
应用推荐