当前位置:网站首页>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 :
边栏推荐
- IIS 部署静态网站和 FTP 服务
- Pointer compression for JVM
- 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]
- flutter系列之:flutter中的flow
- JSON parsing, esp32 easy access to time, temperature and weather
- XSS攻击笔记(上)
- buuctf-pwn write-ups (6)
- Keepalived 实现 Redis AutoFailover (RedisHA)13
- 你的case真的pass了吗?
- Esp32 add multi directory custom component
猜你喜欢

Tsinghua & Zhiyuan | cogview2: faster and better text image generation model

Due to the invalidation of the prospectus of bori technology, CICC has stopped providing guidance to it and abandoned the listing on the Hong Kong stock exchange?

TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘

建模规范:环境设置

3線spi屏幕驅動方式

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

清华&智源 | CogView2:更快更好的文本图像生成模型

Gaussian and Summary Stats

Buuctf PWN write UPS (6)

Law of Large Numbers
随机推荐
XSS notes (Part 2)
getReader() has already been called for this request
Bs-gx-016 implementation of textbook management system based on SSM
Break through the performance bottleneck of image recognition through rust language computing acceleration technology
UVM中config_db机制的使用方法
Structure the fifth operation of the actual camp module
Object access mechanism and others
Memcached foundation 1
get_sequencer的用法总结
SystemVerilog仿真速率提升
UVM in reporting classes_ report_ Get of server_ severity_ Count and get_ Server usage
Buuctf PWN write UPS (6)
[graduation season] role conversion
1.44 inch TFT-LCD display screen mold taking tutorial
XSS笔记(下)
Keepalived 实现 Redis AutoFailover (RedisHA)16
UVM中uvm_config_db非直线的设置与获取
Memcached foundation 7
hibernate 根据方言生成sql
3 - wire SPI Screen Drive