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