Hi,

I found what I think is an important bug in symfony 1.0 but I don't  
know if this is also happening in the other versions.

inside sfConfigCache line 195 we have the following call:   
sfProcessCache::clear();

Which in the case of APC will clear all the user cache, this means  
that everything that was stored by the application will be deleted.
I searched through the whole symfony project and there is no other  
call to this class, which means that inside symfony it is only  
clearing the cache but not storing values inside

A solution for symfony users is to set this configuration to false  
sf_use_process_cache inside settings.yml and add our own wrapper for  
APC.

We did one, extending sfProcessCache to have a method  
myProcessCache::add() that uses apc specific apc_add() which don't  
overwrite the entry if it already exists: http://cn.php.net/apc_add

Here is the ticket: http://trac.symfony-project.org/ticket/6092

Best regards,

Alvaro

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to