当前位置:网站首页>Browser cache
Browser cache
2022-06-27 01:30:00 【Big drumsticks are best】

Every time the browser makes a request , Both look in the browser cache for the result of the request and the cache identity
Each time the browser gets the result of a returned request, it stores the result and the cache id in the browser cache
The cache will be strengthened at the beginning
Forced caching is to find the result of the request from the browser cache
1, There is no such cache result and cache identity , Force cache invalidation , Then send a request directly to the server ( return 200)
2, There is the cache result and the cache identity , But the result is no longer valid , Force cache invalidation , Then use negotiation cache ,
The browser carries a cache id , Initiate request , If the resources are updated , And then return to the new result , Status code for 200, If the resource is not updated , Then return to 304, You can continue to use the cache file
3, There is the cache result and the cache identity , And this result has not been invalidated , Force cache to take effect , Return the result directly
Force the cache to take precedence over the negotiation cache , If cache is forced (Expires and Cache-Control) Take effect and use the cache directly , If it does not take effect, a negotiation cache is performed (Last-Modified / If-Modified-Since and Etag / If-None-Match), The negotiation cache is up to the server to decide whether to use the cache , If the negotiation cache expires , Then represents the cache invalidation of the request , Retrieve request results , This is then stored in the browser cache ; Return in effect 304, Continue using the cache , The main process is as follows :
边栏推荐
- 接口隔离原则
- 每日刷题记录 (五)
- SystemVerilog simulation speed increase
- 3-wire SPI screen driving mode
- 大白话高并发(一)
- Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
- Great vernacular with high concurrency (I)
- Summary of working at home during the epidemic | community essay solicitation
- Amazon ElastiCache 飞速搭建缓存服务集群,这才叫快
- TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
猜你喜欢

通过Rust语言计算加速技术突破图片识别性能瓶颈

你的case真的pass了吗?

Operating instructions and Q & A of cec-i China learning machine
![Count the logarithm of points that cannot reach each other in an undirected graph [classic adjacency table building +dfs Statistics - > query set optimization] [query set manual / write details]](/img/cc/a0be58eddc72c22a9a6ee5c61eb81a.png)
Count the logarithm of points that cannot reach each other in an undirected graph [classic adjacency table building +dfs Statistics - > query set optimization] [query set manual / write details]

Gaussian and Summary Stats

Processing of slice loss in ArcGIS mosaic dataset

Recursion will make strtok more attractive

XSS notes (Part 2)

C#程序结构预览最基础入门

美团:踩雷好几年,才总结出的数据治理避坑攻略
随机推荐
1.44寸TFT-LCD显示屏取模教程
[graduation season] role conversion
大白话高并发(一)
memcached基础4
Processing of slice loss in ArcGIS mosaic dataset
C#程序结构预览最基础入门
Structure the fifth operation of the actual camp module
3線spi屏幕驅動方式
Generate flow chart with code, and how to use markdown
Memcached foundation 5
持续交付-Blue Ocean 应用
Analysis of ideal L9 product power: the price is 459800 yuan, the four cylinder engine is adopted, and the endurance is 1315km
Keepalived 实现 Redis AutoFailover (RedisHA)13
Object access mechanism and others
史上最难618,TCL夺得电视行业京东和天猫份额双第一
leetcode 1143. Longest common subsequence (medium)
疫情期间居家办公的总结体会 |社区征文
buuctf-pwn write-ups (6)
buuctf-pwn write-ups (6)
清华&智源 | CogView2:更快更好的文本图像生成模型