scaleflex/js-cloudimage-responsive

Remove hardcoded `ci_info` query parameter to fix caching (max-age) issue

Closed this issue · 1 comments

Hi there,

Recently, I've spotted that images that are served using this library are not caching accordingly to settings in cloudimage admin panel:

Admin Panel Configuration
image

How it looks like in the browser
image

but if I remove ci_info parameter, the max-age is back to normal (as in the admin panel settings):
image

So, the problem is with the ci_info query parameter that is embedded automatically to every image URL in source the code:
image

Can you remove this hardcoded part from the source code or add an option to disable it?

Thanks!

Hello @maczuk and thanks for your report.

The issue is resolved and pushed in the version 4.8.4 - 2021-01-04