How to disable proxy caching with .htaccess

后端 未结 2 1340
别跟我提以往
别跟我提以往 2021-02-10 02:10

I have a problem where corporate proxy servers serves up the page for different logged in users. I reckon I can solve this issue by disabling proxy caching. This page suggests i

2条回答
  •  说谎
    说谎 (楼主)
    2021-02-10 02:49

    Use:

    ExpiresActive On

    ExpiresDefault now

    Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"

    Header set Pragma "no-cache"

提交回复
热议问题