Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 391
  • Last Modified:

Cache Clearing for a specific page

I'm reloading a webpage with an image. When NS reloads the page it takes the graphic from cache and NOT the new image. Is there a script to clear the NS cache? The page is built using ASP.NET
0
taagoro
Asked:
taagoro
1 Solution
 
KhiluCommented:
Hi Taagoro,

Put some query string parameter at the end of image url/Path.

eg.

/images/experts-exchange/experts-exchange-logo.png?GUID=ancns

You can create new GUID every time and put that as query string.

System.Guid.NewGuid().ToString();

Using this we can set new url/Path for image and browser loads it for actual location
0
 
taagoroAuthor Commented:
Thanks Khilu - We have implemented and it seems to be working fine.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now