![]() |
как отчистить кеш из расширения
доброго всем времени суток, интерисует такой вопрос через фе плагин на страницу добавляется контент который начинает отображаться только после отчистки кеша текущей страницы. Вопрос следующий как из расширения отчистить кеш страницы текущей?
|
Цитата:
Код:
$tce = t3lib_div::makeInstance('t3lib_TCEmain'); |
спасибо Павел, очень помогли - работает.
для тех кто будет искать такой же вопрос Clear cache TCE also has an API for clearing the cache tables of TYPO3: Syntax: $tce->clear_cacheCmd($cacheCmd); $cacheCmd values Description [integer] - Clear the cache for the page id given. "all" - Clears all cache tables (cache_pages, cache_pagesection, cache_hash). Only available for admin-users unless expressly allowed by User TSconfig "options.clearCache.all" "pages" - Clears all pages from cache_pages. Only available for admin-users unless expressly allowed by User TSconfig "options.clearCache.pages" "temp_CACHED" - Clears the temp_CACHED fiels in typo3conf/ |
Часовой пояс GMT +4, время: 00:20. |
Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot