HTTP protocol request headers If-Match, If-None-Match and ETag

Overview In the HTTP protocol, the request headers If-Match, If-None-Match, If-Modified-Since, If-Unmodified -Since, If-Range are mainly request header standards defined to solve the problem of browser cache data. Correct judgment and use of these request headers in accordance with the protocol specifications can lead to more accurate Handle browser cache to improve system performance and […]

3. How to use HTTP caching (Expires, cache-control, Etag, last-modified) – which files require strong caching and which files require negotiated caching

Reference link 1: Thoroughly understand strong caching and negotiated caching Reference link 2: Browser cache Reference link 3: Kill 304, Cache-Control: immutable How to build express or node service ### How to build express, npm install express –save ### How express implements hot update npm install node-dev -D // In the script in package.json, configure […]

[Solved] Browser caching mechanism (expires, cache-control, last-modified, etag) and Nginx configuration tuning

Directory 1. HTTP Status Code 2. last-modified 3. etag 4. cache-control 4.1 Different performance of browsers for several values of cache-control 4.1.1 Open a new window 4.1.2 Press Enter in the original window 4.1.3 Click the refresh button 4.1.4 Click the back button 5. expires 6. The priority of the above attributes 7. Possible problems […]