【问题标题】:Force a no_cache link with <n:link使用 <n:link 强制使用 no_cache 链接
【发布时间】:2014-12-04 16:00:58
【问题描述】:

是否可以通过 tx_news 强制使用 no_cache 链接?

<n:link newsItem="{newsItem}" settings="{no_cache:1}" uriOnly="1"/>

链接应如下所示:

http://domain.com/no_cache/articleurl

【问题讨论】:

    标签: typo3 fluid typo3-6.1.x tx-news


    【解决方案1】:

    如果你想为你的新闻项目禁用缓存,你可以在你的页面上设置 no_cache。

    您还可以查看 tx_news 的 viewhelper 类,看看这是否可行。如果没有,你可以自己添加一个额外的参数

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-09-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-12
      • 1970-01-01
      相关资源
      最近更新 更多