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 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64