Buffering or Caching.
-
Hi, I have some static content on my page like logo and menu , the problem is that when the page loads all the things comes part by part. What i want to do is to show the logo and the menu first and then meanwhile buffer the other contents and then display it. And also how to buffer different parts of page. And also how to cache the image in client side. Thanks in advance. Deepak Surana
-
Hi, I have some static content on my page like logo and menu , the problem is that when the page loads all the things comes part by part. What i want to do is to show the logo and the menu first and then meanwhile buffer the other contents and then display it. And also how to buffer different parts of page. And also how to cache the image in client side. Thanks in advance. Deepak Surana
You can hide elements while they are loading, and in the onload event of the page show them. There is no such event for a part of a page, though. You would have to monitor the load status of each element of that part to determine when it's loaded. Caching of images is done by the browser, and there is hardly any need to do any additional caching. Also, there is no way that you can store that kind of data from page to page, so to do any form of caching yourself, you would have to use something like a hidden frame.
--- b { font-weight: normal; }
-
You can hide elements while they are loading, and in the onload event of the page show them. There is no such event for a part of a page, though. You would have to monitor the load status of each element of that part to determine when it's loaded. Caching of images is done by the browser, and there is hardly any need to do any additional caching. Also, there is no way that you can store that kind of data from page to page, so to do any form of caching yourself, you would have to use something like a hidden frame.
--- b { font-weight: normal; }
-
Hi, I have some static content on my page like logo and menu , the problem is that when the page loads all the things comes part by part. What i want to do is to show the logo and the menu first and then meanwhile buffer the other contents and then display it. And also how to buffer different parts of page. And also how to cache the image in client side. Thanks in advance. Deepak Surana
You may want to research some AJAX topics for this.
only two letters away from being an asset
-
ViewState and it's performance has nothing to do with the requested functionality of buffering content for display.
only two letters away from being an asset
-
You may want to research some AJAX topics for this.
only two letters away from being an asset
Why not cache the page....I hope this will help you to increase the performance. Amit
-
Why not cache the page....I hope this will help you to increase the performance. Amit
Amit Kumar G wrote:
I hope this will help you to increase the performance
Performance was not the issue. "What i want to do is to show the logo and the menu first and then meanwhile buffer the other contents and then display it."
only two letters away from being an asset