node.js - express中static中间件的问题
怪我咯
怪我咯 2017-04-17 15:47:59
0
2
333

使用static中间件时服务器中的静态资源是不是在第一次访问时就被传输到客户端缓存起来了?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
伊谢尔伦

For clients with caching capabilities (such as browsers), if static resources are cached, they will be loaded from the cache when accessed in the future, which has nothing to do with static middleware.

洪涛

static is only responsible for processing static resources, cache-related matters have nothing to do with static

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template