?
I’m trying to figure out how to do it on openresty ,
Now the status is “BYPASS” because im bypassing the cookie session.
I can make it “HIT” by not bypassing the cookie , but it doesn’t allow me to login the site,
The question is
Is it possible to make it “HIT” and still allowed to login to the site ?
add cookie's value to cache_key
Hi thank you for your reply, but the cookie is always different for each member, can we solved it ?
as I said - add cookie's value to cache_key. by default it's not included. so you may use something like (derived from default): proxy_cache_key $scheme$proxy_host$uri$is_args$args$cookie_<name>;
Обсуждают сегодня