Index: t3lib/extjs/class.t3lib_extjs_extdirectapi.php =================================================================== --- t3lib/extjs/class.t3lib_extjs_extdirectapi.php (Revision 10162) +++ t3lib/extjs/class.t3lib_extjs_extdirectapi.php (Arbeitskopie) @@ -93,6 +93,12 @@ $javascriptNamespaces = unserialize($cacheContent); } + // enable caching + $expireDate = date('r', $GLOBALS['EXEC_TIME'] + 3600 * 24 * 30); + header('Expires: ' . $expireDate); + header('Cache-control: public'); + header('Pragma:'); + // return the generated javascript API configuration if (count($javascriptNamespaces)) { $setup = ' Index: typo3/classes/class.livesearch.php =================================================================== --- typo3/classes/class.livesearch.php (Revision 10162) +++ typo3/classes/class.livesearch.php (Arbeitskopie) @@ -82,7 +82,7 @@ */ protected function addJavascriptToBackend() { $pageRenderer = $GLOBALS['TBE_TEMPLATE']->getPageRenderer(); - $pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.LiveSearchActions', 'text/javascript', $compress = FALSE); + $pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.LiveSearchActions&' . TYPO3_version, 'text/javascript', $compress = FALSE); $this->backendReference->addJavascriptFile('js/livesearch.js'); } Index: typo3/template.php =================================================================== --- typo3/template.php (Revision 10162) +++ typo3/template.php (Arbeitskopie) @@ -823,7 +823,7 @@ if ($this->extDirectStateProvider) { $this->pageRenderer->addJsFile( - $this->backPath . 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.ExtDirectStateProvider', + $this->backPath . 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.ExtDirectStateProvider&' . TYPO3_version, NULL, FALSE ); @@ -1639,7 +1639,7 @@ protected function loadCshJavascript() { $this->pageRenderer->loadExtJS(); $this->pageRenderer->addJsFile($this->backPath .'../t3lib/js/extjs/contexthelp.js'); - $this->pageRenderer->addJsFile($this->backPath . 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.CSH', NULL, FALSE); + $this->pageRenderer->addJsFile($this->backPath . 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.CSH&' . TYPO3_version, NULL, FALSE); $this->pageRenderer->addExtDirectCode(); } Index: typo3/backend.php =================================================================== --- typo3/backend.php (Revision 10162) +++ typo3/backend.php (Arbeitskopie) @@ -249,12 +249,12 @@ if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect']) && is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'])) { foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'] as $key => $value) { if (strpos($key, 'TYPO3.Ajax.ExtDirect') !== FALSE) { - $this->pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.Ajax.ExtDirect', NULL, FALSE); + $this->pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.Ajax.ExtDirect&' . TYPO3_version, NULL, FALSE); break; } } } - $this->pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.BackendUserSettings', NULL, FALSE); + $this->pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.BackendUserSettings&' . TYPO3_version, NULL, FALSE); $this->generateJavascript(); $this->pageRenderer->addJsInlineCode('BackendInlineJavascript', $this->js); @@ -349,7 +349,7 @@ if (is_array($info['extDirectNamespaces']) && count($info['extDirectNamespaces'])) { foreach ($info['extDirectNamespaces'] as $namespace) { $this->pageRenderer->addJsFile( - 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=' . $namespace, + 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=' . $namespace . '&' . TYPO3_version, NULL, FALSE ); Index: typo3/sysext/em/classes/class.tx_em_extensionmanager.php =================================================================== --- typo3/sysext/em/classes/class.tx_em_extensionmanager.php (Revision 10162) +++ typo3/sysext/em/classes/class.tx_em_extensionmanager.php (Arbeitskopie) @@ -132,12 +132,12 @@ // Load JavaScript: $this->pageRenderer->addJsFile($this->parentObject->doc->backPath . - 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.EM', + 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.EM&' . TYPO3_version, NULL, FALSE ); $this->pageRenderer->addJsFile($this->parentObject->doc->backPath . - 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.EMSOAP', + 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.EMSOAP&' . TYPO3_version, NULL, FALSE );