On Sun, Sep 21, 2014 at 04:40:00PM +0300, Roland RoLaNd wrote:
Hi there,
> Using map is cool idea, though i have around 2000 possible imageId and size
> and more than 9 million user id.. they're always imageIDs are prone to
> change, wouldn't that mean i have to add them manually every time ?
the $args reads from the previously set $URI this is
obviously a pseudo code, but i'm hoping i'm on the right path here...
> Date: Wed, 17 Sep 2014 08:17:07 +0100
> From: fran...@daoine.org
> To: nginx@nginx.org
> Subject: Re: trouble changing uri to query string
>
>
On Mon, Sep 15, 2014 at 02:57:34PM +0300, Roland RoLaNd wrote:
Hi there,
this is all untested by me...
> i have a url looking as such:
> mysite.com/some/path/rest/v2/giveit.view&user=282&imageid=23&size=80
>
> i want the cache key to match imageid=23&size=80 without the "user" part.
You cou
i have a url looking as such:
mysite.com/some/path/rest/v2/giveit.view&user=282&imageid=23&size=80
i want the cache key to match imageid=23&size=80 without the "user" part.
$args isn't matching because incoming url lacks the "?" part, so $uri is
detected as mysite.com/some/path/rest/v2/give