Welcome! Log In Create A New Profile

Advanced

Re: map v/s rewrite performance

April 04, 2014 08:05AM
@Igor

Few Updates:

> location = old-url-1 { return 301 new-url-1; }

is really nice. We can specify 301/302 using it.

But I am reading - http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_cache_valid and now I am thining weather to populate config file with 1000's of lines like below (using automated script, no human efforts involved)

> location = old-url-1 { return 301 new-url-1; }

OR simply declare

> fastcgi_cache_valid 301 302 max;

That is: Putting load in config file v/s fastcgi-cache?

--
Rahul Bansal
EasyEngine - https://github.com/rtCamp/easyengine
Subject Author Posted

map v/s rewrite performance

rahul286 March 25, 2014 04:12AM

Re: map v/s rewrite performance

Igor Sysoev March 25, 2014 04:18AM

Re: map v/s rewrite performance

rahul286 March 25, 2014 04:43AM

Re: map v/s rewrite performance

rahul286 April 04, 2014 08:05AM

Re: map v/s rewrite performance

Igor Sysoev April 06, 2014 04:04AM

Re: map v/s rewrite performance

rahul286 April 06, 2014 09:49AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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