![]() |
Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
![]() |
#4 |
Administrator
|
![]()
В файле t3lib/config_default.php
написано про $TYPO3_CONF_VARS[FE][versionNumberInFilename] 'versionNumberInFilename' => 'querystring', // String. Allows to automatically include a version number (timestamp of the file) to referred CSS and JS filenames on the rendered page. This will make browsers and proxies reload the files if they change (thus avoiding caching issues). Set to 'embed' will have the timestamp embedded in the filename, ie. filename.1269312081.js. IMPORTANT: 'embed' requires this .htaccess rule to work: RewriteCond %{REQUEST_FILENAME} !-f - RewriteCond %{REQUEST_FILENAME} !-d - RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif)$ $1.$3 [L]. Set to 'querystring' (default setting) to append the version number as a query parameter (doesn't require mod_rewrite). Set to '' will turn this functionality off (behaves like TYPO3 < v4.4). т.е. надо поставить в localconf.php $TYPO3_CONF_VARS['FE']['versionNumberInFilename'] = ''; |
![]() |
![]() |
|
|
![]() |
||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Как отключить кэш на стороне клиента? | oxenbash | Общие вопросы | 0 | 15.12.2009 17:11 |
Как отключить default язык в BE, если перевод есть вначале только на дополнительный? | oxenbash | Общие вопросы | 1 | 05.11.2009 18:46 |
Как отключить парсинг? | Э | HTMLArea, RTE, tinymce_rte и другие визуальные редакторы | 10 | 12.05.2009 22:37 |
Как отключить кеш (config.no_cache) | c0d3r | Общие вопросы | 2 | 22.12.2006 10:18 |
А КАК ЕГО СТАВИТЬ _ ТО С НУЛЯ????? | Николай | Установка | 6 | 23.02.2006 14:56 |