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?
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';
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.