Can I sort query parameters to ensure similar requests are treated the same?


#1

If you have a number of requests including query parameters, you may be concerned that they won’t be treated the same through Fastly. Fastly does support the varnish extension boltsort. This rule can be created within your Fastly configuration through a new header rule.

Go to Content–>Headers . Select the New button to create a new header

Name : boltsort (or preferred name)
Type/Action :  Request/Set
Destination: url
Source : boltsort.sort(req.url)`

Leave other default settings. Select the Create button to add your new header. Then deploy your new configuration.