You could also look at using a memory cache like APC. I wrote a blog post
about this that has some details:
http://garethmccumskey.blogspot.com/2009/04/memory-caching-can-be-saviour.html
On Mon, Jan 24, 2011 at 2:06 PM, Shihab KB shiha...@gmail.com wrote:
Hi,
Thanks for your answer.
Can
Hey Shihab,
what I did is create a class that extends sfViewCacheManager,
and override the generateCacheKey() method like so:
public function generateCacheKey($internalUri, $hostName = '', $vary =
'', $contextualPrefix = '')
{
$key = parent::generateCacheKey($internalUri, $hostName, $vary,
I believe you can make the cache key whatever you want... so in your
case just module/action and whatever neccessary parameter, but not
user id.
I've used this in reverse, where I had the same url for everybody, but
depending on the login status and session id I'd generate a unique
cache key,
Symfony builds up the cache key based upon the URL in case of action or
parameters (for partials, components).
I'm not sure if you can override the cache key within the action so my
suggestion is to create a simple action with a template and within
that template include a component that will be
Eliminate the user key from the URL:
http://10.1.12.123/hysa/restful.php/news/1/en/newscategorieshttp://10.1.12.123/hysa/restful.php/news/1/en/user3/newscategories
gabriel
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
that is not possible as we need to authenticate the user by using the
usertoken
any other methods?
On Jan 20, 4:24 pm, Gabriel Petchesi pghora...@gmail.com wrote:
Eliminate the user key from the
Set up a custom cache key for the given page that does not include that
information.
Look for documentation about sf_cache_key here:
http://www.symfony-project.org/gentle-introduction/1_4/en/12-Caching
gabriel
--
If you want to report a vulnerability issue on symfony, please send it to
Thanks for your answer.. I read the link. But unfortunately I didn't
from it. Could please explain more?
On Jan 20, 7:48 pm, Gabriel Petchesi pghora...@gmail.com wrote:
Set up a custom cache key for the given page that does not include that
information.
Look for documentation about