Welcome! Log In Create A New Profile

Advanced

POST DATA in cache_key

April 04, 2012 01:21PM
is it possible to use a value found within POST DATA as part of the cache key?

for example, the value of variable called 'username' to be part of the cache key.

so i basically want the cache to key to simply hash against the connecting IP and the 'username' POST variable.

proxy_cache_key "$remote_addr$POST[username]"

thanks in advance
Subject Author Posted

POST DATA in cache_key

fiyah2011 April 04, 2012 01:21PM

Re: POST DATA in cache_key

fiyah2011 April 04, 2012 01:41PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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