Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Buffering or Caching.

Buffering or Caching.

Scheduled Pinned Locked Moved ASP.NET
helptutorial
9 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deepaks3
    wrote on last edited by
    #1

    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

    G N 2 Replies Last reply
    0
    • D deepaks3

      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

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      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; }

      D 1 Reply Last reply
      0
      • G Guffa

        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; }

        D Offline
        D Offline
        deepaks3
        wrote on last edited by
        #3

        Hiding will not solve the problem, i want to increase the performance of the page.

        J G 2 Replies Last reply
        0
        • D deepaks3

          Hiding will not solve the problem, i want to increase the performance of the page.

          J Offline
          J Offline
          Jason Weibel
          wrote on last edited by
          #4

          To improve performance in my apps I utilized Elvin Cheng's ViewState Provider article. See here

          Jason

          N 1 Reply Last reply
          0
          • D deepaks3

            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

            N Offline
            N Offline
            Not Active
            wrote on last edited by
            #5

            You may want to research some AJAX topics for this.


            only two letters away from being an asset

            A 1 Reply Last reply
            0
            • J Jason Weibel

              To improve performance in my apps I utilized Elvin Cheng's ViewState Provider article. See here

              Jason

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • D deepaks3

                Hiding will not solve the problem, i want to increase the performance of the page.

                G Offline
                G Offline
                Guffa
                wrote on last edited by
                #7

                You can't load anything without loading it. If you want to increase performance you have to examine the components of the page, and reduce the size of what's loaded.

                --- b { font-weight: normal; }

                1 Reply Last reply
                0
                • N Not Active

                  You may want to research some AJAX topics for this.


                  only two letters away from being an asset

                  A Offline
                  A Offline
                  Amit Kumar G
                  wrote on last edited by
                  #8

                  Why not cache the page....I hope this will help you to increase the performance. Amit

                  N 1 Reply Last reply
                  0
                  • A Amit Kumar G

                    Why not cache the page....I hope this will help you to increase the performance. Amit

                    N Offline
                    N Offline
                    Not Active
                    wrote on last edited by
                    #9

                    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

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups