Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cache Clearing for a specific page

Posted on 2013-01-23
2
Medium Priority
?
389 Views
Last Modified: 2013-11-19
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
Comment
Question by:taagoro
2 Comments
 
LVL 3

Accepted Solution

by:
Khilu earned 2000 total points
ID: 38809783
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
 

Author Closing Comment

by:taagoro
ID: 38901188
Thanks Khilu - We have implemented and it seems to be working fine.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question