:: Forum >>
grid.png is calling several times
Hi Alex,
I noticed that grid.png is getting called several times almost all 23 times in one of our application. Because of that page loading is getting delayed.
I know it is being used for sorting and column seperators.
Is it possible to avoid the number of calls?
Thanks
VaraPrasad
varaprasad
Friday, March 7, 2008
I remember doing image pre-caching to avoid this problem. try adding following in the html header
<script>
img_awgrid = new Image();
img_awgrid.src = 'path/to/grid.png';
</script>
Hope this help.
Thanks,
Sudhaker
http://sudhaker.com
Sudhaker Raj
Friday, March 7, 2008
You should configure the webserver to send proper 'Expires' or 'Cache-control' http headers which allow caching of images in the browser. In this case the image is requested only once and does not trigger any additional requests.
Alex (ActiveWidgets)
Friday, March 7, 2008
This topic is archived.
Back to support forum
Forum search