Home > Backend Development > PHP Tutorial > javascript - 如何进行缓存头部资源请求,都有什么办法?

javascript - 如何进行缓存头部资源请求,都有什么办法?

WBOY
Release: 2016-06-06 20:48:35
Original
1097 people have browsed it

减少http的请求?

回复内容:

减少http的请求?

关于缓存的几个HTTP响应头,可以参考这篇文章:浏览器缓存详解:expires,cache-control,last-modified,etag详细说明

关于前端静态资源优化,开启缓存之后资源如何处理更好,可以参考@前端农民工的这篇文章:前端工程与性能优化:静态资源版本更新与缓存

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template