Martyn
Martyn

Reputation: 21

What is the format for Query parameters in cache policy for cloudfront

What is the format for query parameters in the cache policy form of Cloudfront/AWS to allow cache busting. I want to have a parameter with any number.

image.jpg?5(any number here) OR image.jpg?v=5(any number here)

Cache policy form field here.

Upvotes: 0

Views: 475

Answers (1)

Tamás Sallai
Tamás Sallai

Reputation: 3365

You need to add the name of the query parameter. In your case, it's v. Make sure to add it with the "Add query string" button. You cannot restrict that only number values can be defined there.

Upvotes: 1

Related Questions