Yesterday I made a few changes in the code as shown below. Although it didn't work yesterday (i cleared the cookies, cache and clientdependency version change and checked), it started working well today. However, it works only in my system.
I have tried it in other systems as well. It didn't work. Also, we cannot ask every customer to clear their caches and cookies for this.
I found the solution. I have checked the maximum age(Max-age) of Response Header from the browser. The Cloudflare cache is set to the maximum age of 2592000(720 hours). That's why it is not reflecting the changes. So we asked the Cloudflare team to clear the cache the issue has solved
Rewrite rule for redierct the PDF to PDF not working
I have tried to redirect the pdf to pdf by the following the rule in web.config
I have cleared the cache and restart the server still it is not working even I replace the file in from path still it shows the old file only
It can be cached by browser, check it in incognito mode in chrome
Yesterday I made a few changes in the code as shown below. Although it didn't work yesterday (i cleared the cookies, cache and clientdependency version change and checked), it started working well today. However, it works only in my system.
I have tried it in other systems as well. It didn't work. Also, we cannot ask every customer to clear their caches and cookies for this.
you can't ask ....but you can check is it works in incoginto?
if yes- we know the reason, if no - let's try find another solution
I found the solution. I have checked the maximum age(Max-age) of Response Header from the browser. The Cloudflare cache is set to the maximum age of 2592000(720 hours). That's why it is not reflecting the changes. So we asked the Cloudflare team to clear the cache the issue has solved
is working on a reply...