Solved

Cache Clearing for a specific page

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Read about why website design really matters in today's demanding market.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now