Solved

Cache Clearing for a specific page

Posted on 2013-01-23
2
384 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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MyWay Virus 10 54
Inspect Elements on iPad 19 48
Script Error 5 21
Web content filtering solution 6 18
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
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)
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

680 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