This project has moved and is read-only. For the latest updates, please go here.

Speeding up webpage load times

Topics: General Topics
Mar 24, 2007 at 11:24 PM
Hi all,

Hoping somebody can help me, I've got my SharpMap ASP.NET site nearly working how I want it now.

It has an ImageButton, which, using the SharpMap GdalRasterLayer and HttpHandler, displays a section of a 4MB TIF file from cache. At the moment this seems to be about 350KB in size, which is quite a large amount of data to transfer across the network in what I would like to be a fast site.

I am likely going to implement a bit of JavaScript to preload the image in the browser to stop it scanning slowly down like it does at present but what I would ideally like to do is convert the image being sent to a smaller file size before it is sent to the client... is this possible? The server it's running on is a beast.. so the bottleneck at the moment is definitely the size of this image

Mar 27, 2007 at 1:30 PM
You can use application state, session state or caching mechanisms to retrieve the data once and use it later. Choose which best fits your need among the three.