Add Expires and max-age directive of Cache-Control HTTP Header in server responses.
在HTTP头信息里加入缓存控制过期和最大存活时间标记。
Instead, use standard HTTP cache control mechanisms for such purposes.
相反,应该为此目的使用标准的HTTP缓存控制机制。
HTTP 1.1 introduced a new class of headers, Cache-Control response headers, to give Web publishers more control over their content, and to address the limitations of Expires.
HTTP 1.1介绍了另外一组头信息属性:Cache - Control响应头信息,让网站的发布者可以更全面的控制他们的内容,并定位过期时间的限制。
应用推荐