@gradientedge/cdk-utils 9.72.0 → 9.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -317,9 +317,12 @@ class AzureApiManagementManager {
|
|
|
317
317
|
|
|
318
318
|
// Full path construction (without query parameters)
|
|
319
319
|
string fullPath = context.Request.Url.Path.ToLower();
|
|
320
|
-
|
|
320
|
+
|
|
321
|
+
// Query arameters
|
|
322
|
+
string query = context.Request.Url.Query.ToLower();
|
|
323
|
+
|
|
321
324
|
// Construct final cache key (no Accept header needed for JSON-only APIs)
|
|
322
|
-
return $"{apiName}:{apiVersion}:{fullPath}";
|
|
325
|
+
return $"{apiName}:{apiVersion}:{fullPath}:{query}";
|
|
323
326
|
}" />
|
|
324
327
|
<set-variable name="clearCache" value="@(context.Request.Headers.GetValueOrDefault("X-Apim-Clear-Cache", "false").ToLower())" />
|
|
325
328
|
|
package/package.json
CHANGED
|
@@ -381,9 +381,12 @@ export class AzureApiManagementManager {
|
|
|
381
381
|
|
|
382
382
|
// Full path construction (without query parameters)
|
|
383
383
|
string fullPath = context.Request.Url.Path.ToLower();
|
|
384
|
-
|
|
384
|
+
|
|
385
|
+
// Query arameters
|
|
386
|
+
string query = context.Request.Url.Query.ToLower();
|
|
387
|
+
|
|
385
388
|
// Construct final cache key (no Accept header needed for JSON-only APIs)
|
|
386
|
-
return $"{apiName}:{apiVersion}:{fullPath}";
|
|
389
|
+
return $"{apiName}:{apiVersion}:{fullPath}:{query}";
|
|
387
390
|
}" />
|
|
388
391
|
<set-variable name="clearCache" value="@(context.Request.Headers.GetValueOrDefault("X-Apim-Clear-Cache", "false").ToLower())" />
|
|
389
392
|
|