CloudFront with query string parameters

0

Hello! I have configured CloudFront and it successfully caches my content with Path pattern: Default(*) I use Network Load Balancer as Origin.

In my case, there is a need to add an additional Path pattern in order to cache content based on query string parameters. However, this setting does not work as expected.

Example of my queries: /_next/image?url=%2Fassets%2Fimages%2Ffire.png&w=48&q=75

/_next/image?url=%2Fassets%2Fimages%2Fheart.png&w=64&q=75

/_next/image?url=%2Fassets%2Fimages%2Fcomment.png&w=64&q=75

Can you tell me how I can configure content caching based on query string parameters? Settings CloudFront Settings CloudFront caching Enter image description here

AlexOr
asked 24 days ago88 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions