Welcome! Log In Create A New Profile

Advanced

Re: try_files based on file mtime?

June 12, 2010 10:22AM
Igor Sysoev Wrote:
-------------------------------------------------------
> On Sat, Jun 12, 2010 at 12:19:16AM -0400, stdragon
> wrote:
>
> > How do I implement that last part? Say I want
> cached pages to last 2 minutes. Something like
> this would be perfect:
> > try_files 2m blah/blah/$uri @otherwise;
> >
> > What's the best way to do this?
> >
> > If there's not a great way right now, would this
> be better/easier for me to implement as a patch to
> try_files or as a separate module with a separate
> command?
>
> Why not use the proxy/fastcgi cache ?
>

I thought about doing that first, but it seems difficult to let php control the cache, like deleting specific files or clearing the entire cache when certain events happen.
SubjectAuthorPosted

try_files based on file mtime?

stdragonJune 12, 2010 12:19AM

Re: try_files based on file mtime?

Igor SysoevJune 12, 2010 03:52AM

Re: try_files based on file mtime?

stdragonJune 12, 2010 10:22AM

Re: try_files based on file mtime?

Manlio PerilloJune 13, 2010 01:26PM

Re: try_files based on file mtime?

wayanSeptember 14, 2012 05:15AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready