Welcome! Log In Create A New Profile

Advanced

How to have 10% of requests rewrite

February 02, 2010 12:35AM
Guys,

I have a proxy which runs at http://xs.to. It caches http://f0.ultraxs.com. I need it to rewrite to a JPG 10% of the time.

I did this with upstream backend, but the issue was that the disk i/o really shot up doing that.

Is there a good clean way to run an if statement and rewrite 10% of the requests ?

Khalid
Subject Author Posted

How to have 10% of requests rewrite

kshaikh February 02, 2010 12:35AM

Re: How to have 10% of requests rewrite

Anton Yuzhaninov February 02, 2010 05:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready