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.
Subject Author Posted

try_files based on file mtime?

stdragon June 12, 2010 12:19AM

Re: try_files based on file mtime?

Igor Sysoev June 12, 2010 03:52AM

Re: try_files based on file mtime?

stdragon June 12, 2010 10:22AM

Re: try_files based on file mtime?

Manlio Perillo June 13, 2010 01:26PM

Re: try_files based on file mtime?

wayan September 14, 2012 05:15AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 116
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready