0

在摆弄 RealURL 配置后,我注意到我在不知不觉中关闭了 RealURL 缓存,就像在这篇旧文章http://blog.marit.ag/2007/07/24/realurl-pathcache-ausschalten/中一样

截至 2015 年,是否还有理由禁用 RealURL 缓存?

4

2 回答 2

1

Urs, I have no idea why blog's author gave that statement but it's generally wrong. Have no idea what kind of problems they encountered (maybe if they described it, it had some sense), anyway best solution is proper RU configuration instead of disabling the cache.

Keep in mind that general rule in TYPO3 is - cache, as much as possible, as long as possible.

If you'll meet some problems, then you can just clear the RU cache (currently probably by truncating RU's tables in DB, as dedicated ext have some problems with TYPO3 ver. 6.2) and try to fix the configs.

I just checked RU configs in several installations for my own curiosity, to check if is there is somewhere disabled RU cache, result: 0.

于 2015-02-12T10:52:35.257 回答
1

不,禁用 realurl 缓存是绝对糟糕的(我什至会说是邪恶的)想法。不要那样做,也不要听任何人告诉你这样做。

禁用缓存的选项仅适用于您创建站点和频繁重命名/移动页面的时间。为了防止缓存污染,可以禁用它。生产系统绝对必须启用 realurl 缓存。

于 2016-03-01T17:19:31.310 回答