Cause | Detection | Solution(s) |
---|---|---|
Server side generation takes long time | This problem can be detected using a sniffer. Use the sniffer to investigate how long it takes until the first response to the request is sent. If the time is considerable (>1 second), the server side generation of the page needs to be improved. | Consider dividing the page into cacheable (static) information
and non-cacheable (dynamic) information. Only the dynamic
information should be generated at every request.
Consider the use of cahing equipment. Consider not generating all information at the same time, perhaps some information can be retrieved later. |
The page is too large | Investigate with a sniffer how long it takes until the first response to the request is sent. If this time is small, but it takes long time before the loading is finished, you need to limit the page size. | Reduce the size and amount of images. Perhaps some information can be retrieved later. |
Cause | Detection | Solution(s) |
---|---|---|
Server side generation takes long time
The page is too large |
See "Load portal page takes long time". | See "Load portal page takes long time".
Generate some of the pages on the client side (document.write()). Download a larger page initially and then show different parts of the page. Avoid unloading large pages if possible, it will take the same time to reload it when you return to it. Keep the objects you need in the main frame while changing content in the sub frames. |