Re: Deleting cached views

2012-04-13 Thread lowpass
Oops! Sorry, I was thinking you were the OP.

On Fri, Apr 13, 2012 at 9:47 PM, lowpass  wrote:
> Use the global function. Pass the name as the first param.
>
> On Fri, Apr 13, 2012 at 7:26 PM, stork  wrote:
>> I was talking about Model::_clearCache(), off course.
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at
>> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Deleting cached views

2012-04-13 Thread lowpass
Use the global function. Pass the name as the first param.

On Fri, Apr 13, 2012 at 7:26 PM, stork  wrote:
> I was talking about Model::_clearCache(), off course.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Deleting cached views

2012-04-13 Thread stork
I was talking about Model::_clearCache(), off course.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Deleting cached views

2012-04-13 Thread lowpass
On Thu, Apr 12, 2012 at 3:25 PM, Geek Guy  wrote:
> I need to clear the cache for a certain view (not all the views, just
> a certain view!). But in CakePHP configuration there's only a method
> called
>
> clearCache()
>
> This method deletes ALL the cache and i want to delete just one cached
> view.

Pass the name of the cache file as the first parameter. See the
function definition in basics.php.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Deleting cached views

2012-04-13 Thread stork
It makes sense (clear all cached views of any particular model by default). 
Just override clearCache() in your model and implement your own logic in it.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Deleting cached views

2012-04-12 Thread Mangesh Sathe
hi ,
why don't you try  header cache or header expire.

On Friday, 13 April 2012 00:55:10 UTC+5:30, Geek Guy wrote:
>
> I need to clear the cache for a certain view (not all the views, just 
> a certain view!). But in CakePHP configuration there's only a method 
> called 
>
> clearCache() 
>
> This method deletes ALL the cache and i want to delete just one cached 
> view. 
>
> Any ideas about how to do this? I need to refresh one action, not all 
> the cache.


On Friday, 13 April 2012 00:55:10 UTC+5:30, Geek Guy wrote:
>
> I need to clear the cache for a certain view (not all the views, just 
> a certain view!). But in CakePHP configuration there's only a method 
> called 
>
> clearCache() 
>
> This method deletes ALL the cache and i want to delete just one cached 
> view. 
>
> Any ideas about how to do this? I need to refresh one action, not all 
> the cache.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php