:: Forum >> Version 1 >>

Caching Images

How does one cache images, so that the images are not requested everytime user does a sort on the grid. I noticed on the grid, that every time user does a sort, all the images are requested again.

Any suggestions?

Thanks for your help
Seeker
Monday, February 28, 2005
If you use Apache as aweb-server, you can try something like the following in your .htacces file:

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
# ... and so on
</IfModule>

This will say the browser to cache your images.
DeadMoroz
Monday, February 28, 2005



This topic is archived.

Back to support forum

Forum search