I am learning Apim policies. In caching policies there is many elements of <vary-by.... In description of microsoft docs, it is mentionned that it caches by for example developer, query parameter... What does it mean exactly? Does this have a relation to refreshing values?
'vary' in APIM caching policies
1k Views Asked by Abdessalem MANAI At
1
There are 1 best solutions below
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in AZURE-API-MANAGEMENT
- How to set up the link for the paginated files in the Get Rows(V2) Logic App connector and pass it via Azure API call?
- What's the difference between Microsoft.ApiManagement/service/portalsettings and Microsoft.ApiManagement/service/portalconfigs
- How to read agent application data to azure sql using apim and logic apps
- Enabling minimum apiVersion to 2021-08-01 in Azure API Management causing saving issues or deployment errors for existing logic apps
- How to LIMIT cost to 100 API calls max in a day even if someone has my API endpoint details
- Connect Azure front door with APIM and Azure Web App
- Azure APIM Policy, managed identity resource value from namevalue
- Azure OpenAI and load balancer configuration using APIM
- Prefer not to manually pass the Authorization header after logging in to the Azure APIM developer portal
- Azure APIM: check if parameter already exsit in dictionary
- Issue accessing Azure APIs in Visual Studio Code
- Create multiple subscription keys for one API in Azure
- Problem when trying to update the Azure API Gateway operation backend via Terraform
- Azure APIM Import OpenAPI Spec Failing in GitHub Build Actions
- How to read the API error message from Azure APIM using the qusto query hit from c# code in Rest API
Related Questions in AZURE-CACHING
- How can I understand these error logs? Does it mean that Django backend can't connect to redis?
- Can I configure 'Cache' task in Azure Pipelines to only restore the cache and not the save the cache?
- Caching App Configuration values in Azure Cache for Redis
- APIM - cache request with authorization header for all users (not per user)
- I have a azure frontdoor with caching enabled on route by deafult the caching is 1 to 3 days how to override it using rules what condition to use
- How do I specify a policy so that Azure API Management creates a different response cache for each combination of query parameters?
- Azure DevOps, ENOENT issue with NPM Caching
- Can I restrict Azure API Management cache storage by response content?
- How can I deny all the public access to my azure cache for redis?
- Azure SQL VM - Premium Storage Caching or P50 or more disks?
- tar: could not chdir to 'D:\a\1\docker'
- 'vary' in APIM caching policies
- Caching node_modules in Azure Pipelines takes longer than installing them
- Running SQL query against Azure redis cache
- Environment.SetEnvironmentVariable in Azure Function
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I guess you are referring to https://learn.microsoft.com/en-us/azure/api-management/api-management-caching-policies#GetFromCache
By default the cache lookup would only use the URL path as a reference (the cache key) to find the cached item.
If you however wanted also to vary the cache lookup depending on a certain header or query parameter - with that extending the cache key - you would use
<vary-by-header>or<vary-by-query-parameter>- so that for the same URL path responses are cached based on additional header and/or query parameters.vary-by-developerorvary-by-developer-groupswould extend the cache key with user or the group of the user assigned to the subscription key used - so that for the same URL path responses are cached based on who is calling the API operation.