老师你好,火狐浏览器不显示cache-control
来源:6-5 秒杀接口前后端分离

慕粉0812313823
2019-08-19
我用的是springboot2.0 ,配置用的是yml,现在存在的问题是火狐的请求头中不显示cache-control,
我把cache.period改成了60,但是60秒后还是读取缓存,请问我的配置是不是有问题
写回答
1回答
-
若鱼1919
2019-08-20
spring.resources.cache.cachecontrol.max-age:Maximum time the response should be cached, in seconds if no duration suffix is not specified.
用这个参数试试
00
相似问题