3.2.0

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
February 28,
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
February 28,

This topic is archived.

See also:


Back to support forum