【发布时间】: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
是否可以通过 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
如果你想为你的新闻项目禁用缓存,你可以在你的页面上设置 no_cache。
您还可以查看 tx_news 的 viewhelper 类,看看这是否可行。如果没有,你可以自己添加一个额外的参数
【讨论】: