[TYPO3-team-core-v5] Memcached Backend with multiple Flow3 installations?

Karsten Dambekalns karsten at typo3.org
Fri May 9 16:36:14 CEST 2008


Hi.

Axel Hoogestraat wrote:
> In F3_Flow.php, for example, there is the following code:
> $componentConfigurationsCache->save('baseComponentConfigurations', 
> $componentConfigurations);
> 
> The key 'baseComponentConfigurations' will be overwritten, if another 
> flow installation will save the same key. But the configuration, that 
> should be saved, could be different.
> 
> So, a possible solution is to add an prefix to the key, i think. The 
> prefix could be the installationpath of flow3 or something like an id, 
> that is configured in the flow3 configuration.

Right, the file-based cache backend does a similar thing. For memcache 
you could of course let every instance point to a fresh memcached 
server, but to make it easier for evenryone and his mother adding a 
prefix seems like the better solution.

Karsten


More information about the TYPO3-team-core-v5 mailing list