Welcome! Log In Create A New Profile

Advanced

Re: Proxy cache for php site

António P. P. Almeida
October 15, 2011 08:52PM
On 16 Out 2011 00h40 WEST, jmbennett@gmail.com wrote:

> Hi,
>
> I'm trying to implement this style of proxy_cache config
> http://fennb.com/microcaching-speed-your-app-up-250x-with-no-n as a
> test locally, to stick in front of php sites.
>
> This is what I have: http://pastie.org/2703119

Your config has a lot of cruft, meaning a lot of bad Yoda stuff.

But the main issue is that you're proxying to fastcgi not to another
HTTP server, hence the cache to be used is fastcgi cache, not proxy
cache.

http://wiki.nginx.org/HttpFcgiModule#fastcgi_cache

Which apart from a few options has basically the same directives with
proxy replaced by fastcgi.

--- appa

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Proxy cache for php site

Jon Bennett October 15, 2011 07:42PM

Re: Proxy cache for php site

António P. P. Almeida October 15, 2011 08:52PM

Re: Proxy cache for php site

Jon Bennett October 15, 2011 09:18PM

Re: Proxy cache for php site

António P. P. Almeida October 15, 2011 10:56PM

Re: Proxy cache for php site

Jon Bennett October 16, 2011 08:26AM

Re: Proxy cache for php site

Jon Bennett October 16, 2011 07:04PM

Re: Proxy cache for php site

lpugoy November 08, 2011 07:55AM

Re: Proxy cache for php site

Francis Daly November 08, 2011 04:30PM

Re: Proxy cache for php site

Maxim Dounin November 08, 2011 04:32PM

Re: Proxy cache for php site

lpugoy November 09, 2011 06:02AM

Re: Proxy cache for php site

lpugoy November 09, 2011 08:18AM

Re: Proxy cache for php site

lpugoy November 10, 2011 02:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 143
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