Need a special offer?Find out if your project fits.
+

How to remove the added query string params when using json url as filename ?

Resolved
Dev Axso asked on June 18, 2020

Hi,
we use signed url as filname for a datasource and it seems that FlexMonster is adding "&442360491" at the end of the url.
Our url, "mysite.com/data.json?signature=abc" become "mysite.com/data.json?signature=abc&442360491"
Is it possible to disable this feature ?
Thanks

1 answer

Public
Vera Didenko Vera Didenko Flexmonster June 19, 2020

Hello, Dev,
 
Thank you for reaching out to us. 
 
We would like to explain that Flexmonster appends an additional unique id to the URL to ensure that the filename parameter URL stays unique.
This prevents the browser from loading the data from its cache, therefore ensuring that the data is updated when requested
 
This feature can be disabled by setting the allowBrowsersCache option property to true.
We've prepared a quick sample to demonstrate this functionality: https://jsfiddle.net/flexmonster/1c73vtup/
 
More information about the options object is provided in the following guide: https://www.flexmonster.com/api/options-object/.
 
 
Please let us know if this works for you.
Looking forward to your answer.
 
Kind regards,
Vera

Please login or Register to Submit Answer