Re: how to cache all the view in call ?

2007-07-07 Thread wluigi
My first message was for asking. My last for explaining because nobody answer me before I solve it, and because it wasn t that easy. On 6 juil, 21:58, "Pablo Viojo" <[EMAIL PROTECTED]> wrote: > I don't understand...you're asking or trying to explain it? > > Using that piece of code, you can set

Re: how to cache all the view in call ?

2007-07-06 Thread Pablo Viojo
I don't understand...you're asking or trying to explain it? Using that piece of code, you can set a cron task. Regards, Pablo On 7/6/07, wluigi <[EMAIL PROTECTED]> wrote: > > > @keaten patel : it doesn t solve the problem for the first user how > must regenerate the view > > @Rajesh : yes that i

Re: how to cache all the view in call ?

2007-07-06 Thread wluigi
@keaten patel : it doesn t solve the problem for the first user how must regenerate the view @Rajesh : yes that is it but the main problem was to call every action. So I use Curl : foreach($controllerActionList as $myControllerAction){ if(!$ch = curl_init('http://localhost/donnees/index/'. $d

Re: how to cache all the view in call ?

2007-07-05 Thread R. Rajesh Jeba Anbiah
On Jul 5, 2:45 pm, wluigi <[EMAIL PROTECTED]> wrote: > the question was not how to use cache but how to generate de cached > contente for every action of my site every morning, so that the first > people how use the site can take benefits of the cached view. Set up cron to delete cache fol

Re: how to cache all the view in call ?

2007-07-05 Thread Ketan Patel
Well, one way to do it, could be based on the timestamp. In controller, you look at the cache's file timestamp and then compare it with time(), if the day is same as today, then do nothing, otherwise clearCache() the view. So, for the first user visiting your site next day, automatically controll

Re: how to cache all the view in call ?

2007-07-05 Thread wluigi
the question was not how to use cache but how to generate de cached contente for every action of my site every morning, so that the first people how use the site can take benefits of the cached view. On 1 juil, 18:49, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > gwoo: it'shttp://manual.cakephp.o

Re: how to cache all the view in call ?

2007-07-01 Thread Samuel DeVore
gwoo: it's http://manual.cakephp.org/chapter/view_cache I think On 7/1/07, gwoo <[EMAIL PROTECTED]> wrote: > > > http://manual.cakephp.org/chapters/caching > > > > > -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idi

Re: how to cache all the view in call ?

2007-07-01 Thread gwoo
http://manual.cakephp.org/chapters/caching --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email

Re: how to cache all the view in call ?

2007-07-01 Thread wluigi
for information I use curl to call all action On 18 juin, 11:05, wluigi <[EMAIL PROTECTED]> wrote: > no one know how to handle this ? > > On 15 juin, 14:31, wluigi <[EMAIL PROTECTED]> wrote: > > > I want to do this in only 1 call > > > On 15 juin, 14:27, wluigi <[EMAIL PROTECTED]> wrote: > > > >

Re: how to cache all the view in call ?

2007-06-18 Thread wluigi
no one know how to handle this ? On 15 juin, 14:31, wluigi <[EMAIL PROTECTED]> wrote: > I want to do this in only 1 call > > On 15 juin, 14:27, wluigi <[EMAIL PROTECTED]> wrote: > > > I try differents ways but no one is perfect. > > > I just want every morning to call a controller action or a bat

Re: how to cache all the view in call ?

2007-06-15 Thread wluigi
I want to do this in only 1 call On 15 juin, 14:27, wluigi <[EMAIL PROTECTED]> wrote: > I try differents ways but no one is perfect. > > I just want every morning to call a controller action or a batch that > write the cached file for all my couple od /controller/action/param1/ > param2/... --~

how to cache all the view in call ?

2007-06-15 Thread wluigi
I try differents ways but no one is perfect. I just want every morning to call a controller action or a batch that write the cached file for all my couple od /controller/action/param1/ param2/... --~--~-~--~~~---~--~~ You received this message because you are sub