Recently our client asked us to use progressive image loading for our site.

So we decided to use sitecore's image scaling/resizing to get low resolution image using sitecore image-scaling parameters, e.g.


It was working fine on testing, uat, Production CM but its not working on CD environment.

I have checked all the configs nothing unusual is there(we are also using Django for image compression also tried removing this still not working), also i have tried disabling Media Protection its still not working.

Sitecore doesn't give any error it just returns the actual image not the scaled one.

Any help would be appreciated.

Update : I Checked and it seems issue of cache or may be image generation as cache key is showing


in CD Environment

and in CM its shows


I am not sure why this is happening, someone can help it would be much appreciated.

  • What are the urls of images? Mar 13 '20 at 6:54
  • Hi @MarekMusielak i have edited the question, i mistakenly added HTTP:// so it got hidden. Mar 13 '20 at 7:08

This is for, who may come searching the same issue in future.

My issue was not not related to sitecore actually the issue was one of the rewrite rules,

The rewrite rule was to remove querystring so before the resize processor begins the query was remove by rewrite rule so sitecore was giving the default query string (?as=False&bc=0&h=0&iar=False&mh=0&mw=0&sc=0&thn=False&w=0) in cache, so it was looking like cache was generated wrong but it wasn't the case.

So i removed the rule and it worked like the charm.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.