We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e49835 commit b67eba3Copy full SHA for b67eba3
src/lib/azure/services/api-management/main.ts
@@ -241,11 +241,12 @@ export class AzureApiManagementManager {
241
string fullPath = context.Request.Url.Path.ToLower();
242
243
// Query parameters
244
- string query = context.Request.Url.Query.ToLower();
+ string query = context.Request.Url.QueryString.ToLower();
245
246
// Construct final cache key (no Accept header needed for JSON-only APIs)
247
return $"{apiName}:{apiVersion}:{fullPath}:{query}";
248
- }" />`
+ }" />
249
+ <set-variable name="bypassCache" value="@(context.Request.Headers.GetValueOrDefault("X-Bypass-Cache", "false").ToLower())" />`
250
251
if (operation.caching.enableCacheSet) {
252
cacheSetInboundPolicy = `<choose>
0 commit comments