【问题标题】:Can we configure /ignoreUrlParams for a specific url?我们可以为特定的 url 配置 /ignoreUrlParams 吗?
【发布时间】:2016-11-29 04:44:12
【问题描述】:

我需要缓存

/etc/clientcontext/default/content/jcr:content/stores.init.js?path=xxxxx

但我正在为其他一些 url 使用 url 参数“路径”,因此不能使用 /ignoreUrlParams。

有什么方法可以对特定的 url 使用 /ignoreUrlParams 吗?或者有什么不同的方法可以解决这个问题吗?

【问题讨论】:

  • 你能解决这个问题吗?

标签: apache caching aem dispatcher


【解决方案1】:

如果可能的话,为该特定情况使用不同的查询参数会很好。

我认为不可能实现这样的目标,似乎 /ignoreUrlParams 中的 glob 属性模式不起作用。

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html?lang=en#designing-patterns-for-glob-properties

【讨论】:

    猜你喜欢
    • 2013-06-28
    • 2021-10-06
    • 1970-01-01
    • 2019-05-21
    • 1970-01-01
    • 2012-03-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多