Chrome浏览器302重定向问题

时间:2020-05-29 23:29:54

标签: caching prestashop-1.7 http-status-code-302

我遇到了一个问题,花了一整天的时间尝试对其进行调试:sleepy :,但我没有找到根本原因。

问题是:浏览器将磁盘缓存用于html页面,但实际上html缓存未在Apache中激活:

screenshot of http request and response when disk cache

screenshot of http request and response when disk cache

但是,如果我清除缓存,它将可以正常工作:

screenshot of http request and response when force disable browser cache

screenshot of http request and response when force disable browser cache

当我重新生成服务器中的缓存(css / js / html)时,仅对于已登录的客户,现在他们无法转到结帐html页面(www.mysite.fr/commande),才会发生此问题),但通过磁盘缓存将302重定向到购物车页面(www.mysite.fr/panier)(我不能要求用户清除其浏览器缓存:()

cookie设置的生命周期为20天

我的select c.vin, c.color, c.brand, min(price) as min_appraisal, max(price) as max_appraisal from car c left join appraisal a on a.car_vin = c.vin group by c.vin; -- Why are c.color, c.brand needed here? 设置:

.htaccess

我的浏览器是Chrome版本80.0.3987.122

这个问题使我发疯,我希望有人能给我一些帮助。

非常感谢。

0 个答案:

没有答案