Yes... but remember that linux has a directory file limit, so when you have
long term cache files an a really large site, you have to md5 the fali
before save it and put it in subdirectorys.

2011/9/7 WyriHaximus <[email protected]>

> Have you looked into html_cache by Matt Curry?
> https://github.com/mcurry/html_cache
>
> On Sep 7, 4:42 pm, Eugenio <[email protected]> wrote:
> > Hi to everyone, i have a nginx question... the app is written in cakephp,
> > maybe you could help me.
> >
> > Right now im working on a heavy app written in php.
> >
> > The app knows what pages to cache a cron job delete the old cache pages,
> the
> > cache is saved doing a md5 to the url to get a hash, then puts a / every
> 2
> > chars, example;
> >
> > /posts/index
> > hash: d1546d731a9f30cc80127d57142a482b
> > cache file: /d1/54/6d/73/1a/9f/30/cc/80/12/7d/57/14/2a/48/2b/index.html
> >
> > The php script check if exist a cache file, if cache file exist render.
> >
> > The question is, is anyway to do this with nginx??
> >
> > Thanks for your time
>
> --
> 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
> [email protected] 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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to