Welcome! Log In Create A New Profile

Advanced

Re: which one is better?

April 21, 2009 04:31AM
On Tue, Apr 21, 2009 at 03:10:31PM +0700, Glen Lumanau wrote:

> Is there any help page regarding fastcgi_cache? Or it's the same format as
> proxy_cache?

Yes, just s/proxy/fastcgi/.

The single difference is that fastcgi cache requires

fastcgi_cache_key localhost:9000$request_uri;

while proxy_cache may use default one, similar to this:

proxy_cache_key $scheme$proxy_host$uri$is_args$args;


> -----Original Message-----
> From: owner-nginx@sysoev.ru [mailto:owner-nginx@sysoev.ru] On Behalf Of Igor
> Sysoev
> Sent: 21 April 2009 14:41
> To: nginx@sysoev.ru
> Subject: Re: which one is better?
>
> On Tue, Apr 21, 2009 at 01:20:05PM +0700, Glen Lumanau wrote:
>
> > I still wonder which one is better for performance
> >
> > Pure nginx + php-fpm
> >
> > Or
> >
> > Nginx + apache2 + proxy_cache
> >
> > Anybody knows about this?
>
> Can not say about apache2 vs php-fpm, but you can use fastcgi_cache too.
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>

--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Re: which one is better?

Igor Sysoev April 21, 2009 04:31AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready