douke7431 2017-02-24 03:38
浏览 8
已采纳

如何在litespeed不同的缓存中为同一个url设置不同的缓存?

In this doc there are only a few descriptions of how to use the vary.

https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:developer_guide:response_headers

X-LiteSpeed-Vary: cookie=cookie1,cookie=cookie2

Is there any more detailed doc?

  • 写回答

1条回答 默认 最新

  • dongyuchen9276 2017-02-24 19:09
    关注

    https://nyphper.wordpress.com/2017/02/23/how-to-use-litespeed-vary-to-generate-different-caches-for-one-page-url-php/

    Set cookie1 to the vary name, when user visits this page, litespeed server will cache the page with the user's cookie cookie1's value. Next time whoever visit this page with the same cookie value will be served the cache

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行