How to disable proxy caching with .htaccess

后端 未结 2 1544
隐瞒了意图╮
隐瞒了意图╮ 2021-02-10 02:23

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:58

    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"

提交回复
热议问题