Re: [symfony-users] sfSuperCache vs the native cache

2010-04-14 Thread Daniel Lohse
sfSuperCache is really only a feasible way to cache things like RSS feeds 
because it caches *the whole* page and symfony/PHP *is not* triggered or 
started when requesting the page again as the .htaccess rules you added when 
installing sfSuperCache just serve that HTML file and nothing else.

Daniel

On 14.04.2010, at 10:14, Dong YANG wrote:

> Hello everybody,
> 
> 
>I got a question about the cache. I configured the cache for my 
> application. I followed the tuto of cache for jobeet, but i can't make it 
> work 100%, so I tried the plugin 'sfSuperCache', but i am confused when dived 
> into the code of this cache filter.
> 
>In sfSuperCacheFilter.class.php (plugin), I found that it depends also 
> the cache.yml and works only if entire page is cached with layout and it 
> stocks the static page in 'web/cache'. That means when cache was set true in 
> cache.yml, symfony stocks automatically cache in 'cache' directory and this 
> plugin stocks itself another cache in 'web/cache' directory. 
> 
>So my question is: is that necessary to use this plugin for cache? I 
> wonder that if this plugin is for symfony old version because maybe there is 
> no native cache at that moment.
> 
>Can anybody suggest please?
> 
>   Thanks and Regards,
> 
> 
> JoJo
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>  
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using "remove me" as the subject.


[symfony-users] sfSuperCache vs the native cache

2010-04-14 Thread Dong YANG
Hello everybody,


   I got a question about the cache. I configured the cache for my
application. I followed the tuto of cache for jobeet, but i can't make it
work 100%, so I tried the plugin 'sfSuperCache', but i am confused when
dived into the code of this cache filter.

   In sfSuperCacheFilter.class.php (plugin), I found that it depends
also the cache.yml and works only if entire page is cached with layout and
it stocks the static page in *'web/cache*'. That means when cache was set
true in cache.yml, symfony stocks automatically cache in 'cache' directory
and this plugin stocks itself another cache in 'web/cache' directory.

   So my question is: is that necessary to use this plugin for cache? I
wonder that if this plugin is for symfony old version because maybe there is
no native cache at that moment.

   Can anybody suggest please?

  Thanks and Regards,


JoJo

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en