Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

inconsistency in auto-assgned request.uri variable between request and response flow breaking caching?

Not applicable

Hi - we are trying to do some work in edge w/ caching and we are seeing a rather interesting behavior:

the request.uri is being defined differently in the REQUEST and RESPONSE flows - hence the cache key is being defined differently and response cache misses are happening when they should not be.

lets say a request is being made to the following:

https://myhostname/myproxy/api/somepath?xy7

In the REQUEST flow the REQUEST URI will show up as:

/api/somepath?xy7

in the RESPONSE flow the REQUEST URI will show up as :

myproxy/api/somepath?zxy7

This is making us see inconsistent results out of Apigee.

0 9 351
9 REPLIES 9