Mobile app version of vmapp.org
Login or Join
Alves908

: Iframe display old file I am using MVC 3. I am opening new tab on button click and in new tab i open one view in which have on iFrame and iFrame load pdf file. This is work fine but When

@Alves908

Posted in: #Iframe

I am using MVC 3.
I am opening new tab on button click and in new tab i open one view in which have on iFrame and iFrame load pdf file.

This is work fine but When i open again then it display old file instead of new file.
File name is same but file content is changed.

Updated

If pdf file name generate random then its work fine but i don't want to do this.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves908

1 Comments

Sorted by latest first Latest Oldest Best

 

@Radia820

Your various options are:


Disable browser cache for entire ASP.Net website
Cache Busting on selective URLS
Use a content delivery network that has better handling of expiration on static files
Migrate from MVC to Apache or similar with .htaccess caching

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme