使用static中间件时服务器中的静态资源是不是在第一次访问时就被传输到客户端缓存起来了?
走同样的路,发现不同的人生
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
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