[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

=?Utf-8?B?cm9kY2hhcg==?=

2/13/2004 1:56:00 PM

Is it possible to preload TreeView images
When I open nodes sometimes these images (hor. line, vert. line) are missed.
2 Answers

Teemu Keiski

2/13/2004 5:17:00 PM

0

Hi,

you could specify the folder where these are fetched to be cached in IIS
(content does not expire right away) so that images wouldn't be served for
each separate image instance.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Mark" <anonymous@discussions.microsoft.com> wrote in message
news:AE6024D6-41B4-4692-B530-759683659B33@microsoft.com...
Is it possible to preload TreeView images?
When I open nodes sometimes these images (hor. line, vert. line) are missed.


Teemu Keiski

2/14/2004 11:15:00 AM

0

1. Open IIS, your web site and locate the folder where images are. Note that
you want them to be in separate folder for this to work.
2. Right-click the folder and pick properties
3. Choose HTTP Headers tab
4. At top mark "Enable Contect Expiration" as checked
5. Specify the proper expiration settings( so that expiration does not
happen immediately, say expire after 7 days)

This way IIS will enable images to be cached

-
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist




"Mark" <anonymous@discussions.microsoft.com> wrote in message
news:9BFF319A-DD7C-4331-B299-F6B31884E156@microsoft.com...
How do I do that?