[TYPO3-core] RFC: #0011505: TYPO3 4.3 is slower than 4.2.8 -> re-implement native db caching

Xavier Perseguers typo3 at perseguers.ch
Fri Sep 18 15:03:39 CEST 2009


Hi,

Rupert Germann wrote:
> FYI: committed ollies v9 to trunk rev 5978
> 
> !!! DB update required
> 
> update for NEWS.txt will follow.
> 
> thanks to all testers
> 
> here are my final results:
> 
> TYPO3 4.2.8:        341 req/s  100%
> trunk before patch: 310 req/s   90%
> trunk now:          349 req/s  102%

Really great! But still, I would have loved having extbase in sync because I cannot access BE anymore:

Fatal error: Call to a member function create() on a non-object in /path/to/typo3conf/temp_CACHED_ps02e3_ext_tables.php on line 917

###########################
## EXTENSION: extbase
## FILE:      /path/to/typo3conf/ext/extbase/ext_tables.php
###########################

$_EXTKEY = 'extbase';
$_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];


if (!defined ('TYPO3_MODE')) die ('Access denied.');


if (TYPO3_MODE == 'BE') {
         // register the cache in BE so it will be cleared with "clear all caches"
         try {
======>         $GLOBALS['typo3CacheFactory']->create(
                         'tx_extbase_cache_reflection',
                         't3lib_cache_frontend_VariableFrontend',
                         $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_extbase_reflection']['backend'],
                         $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_extbase_reflection']['options']
                 );
         } catch(t3lib_cache_exception_NoSuchCache $exception) {

         }




-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-team-core mailing list