You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example: Mon, 12 Jul 2021 17:20:41 +0200 [WARNING] request="63475e337452e" component="TYPO3.CMS.Frontend.Controller.TypoScriptFrontendController": $TSFE->set_no_cache() was triggered. Reason: &no_cache=1 has been supplied, so caching is disabled! URL: "https://www.example.com/?type=999&no_cache=1&tx_comsolitsuggest_suggest%5Bsearch%5D=test&tx_comsolitsuggest_suggest%5Bmethod%5D=suggest". Caching is disabled!
This can be avoided by changing the following in Setup.typoscript: plugin.tx_comsolit_suggest = USER_INT (instead of "USER")
and remove &no_cache=1 from url in page.jsFooterInline.999
The text was updated successfully, but these errors were encountered:
The get-parameter in the jsFooterInline already disabled the cache. However, this was problematic because it overflowed the log file. It is not recommended to disable the cache in production environments using no_cache. My suggestion to use USER_INT does not disable the complete cache of the page, only the plugin.
Maybe it would be better to set only the following to USER_INT:
I had the same thoughts. USER_INT should always be preferred over no_cache=1. Especially if you set disableNoCacheParameter=1 the suggestions get cached and are not working properly anymore:
I did set plugin.tx_comsolit_suggest = USER_INT. Maybe ajaxCall.100 = USER_INT is working, too.
Update: just checked it again, plugin.tx_comsolit_suggest = USER_INT still returns cached suggestions. ajaxCall.100 = USER_INT works fine.
Example:
Mon, 12 Jul 2021 17:20:41 +0200 [WARNING] request="63475e337452e" component="TYPO3.CMS.Frontend.Controller.TypoScriptFrontendController": $TSFE->set_no_cache() was triggered. Reason: &no_cache=1 has been supplied, so caching is disabled! URL: "https://www.example.com/?type=999&no_cache=1&tx_comsolitsuggest_suggest%5Bsearch%5D=test&tx_comsolitsuggest_suggest%5Bmethod%5D=suggest". Caching is disabled!
This can be avoided by changing the following in Setup.typoscript:
plugin.tx_comsolit_suggest = USER_INT
(instead of "USER")and remove
&no_cache=1
from url in page.jsFooterInline.999The text was updated successfully, but these errors were encountered: