Florence Blogspot about asp.net tutorials and web design and web development

Thursday, December 18, 2008

Preventing Caching of htm and images being stored in Client Machine

Preventing Caching of htm and images being stored in Client Machine in Temporaray Internet Files.
Open IIS by:
1. Go to START-->RUN-->Type inetmgr
2. Click Website/Default Web Site.
3.Select Properties by Right Clicking your Virtual Directory Ex: TestApp.
4.In the Properties Dialog Box, Select HTTP Header Tab.
5.In the Custom HTTP Header Column, Click Add Button.
6. It will open another dialog box.
7. In the Add/Edit Custom HTTP Header.
1.Type "cache-control" in Header Name and
2.Type "no-cache" in Header Value
3.Click Ok
8.Again In the Add/Edit Custom HTTP Header.
1.Type "programa" in Header Name and
2.Type "no-cache" in Header Value
3.Click Ok

9.Click ok in all dialog boxes and exit from IIS.
Now check your cache in Temporary Internet Files folder.

No no no no no cache..................rit...........

How is it!!!!!!!! Coo000000000l............

No comments:

Search