ASP.NET / HHTP question

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default ASP.NET / HHTP question

    Hi, all.

    I have a rookie web development question.

    I am working on creating a web site, where all pages are
    going to have a similar look/feel: same menu on one side,
    company logo on the other side, etc. Some of the pages
    will be ASP.NET, some will be static HTML.

    1. Is there any way to make sure that all the
    graphics/HTML data cached on the client's site, when user
    is moving from page to page. After all, all the graphics
    is the same...

    2. Is browser smart enough to do it?
    3. Is there any way to programmatically enforce it in ASP?
    4. Is there any way to achieve it with static HTML?

    Thanks for the help.

    VR
    VR Guest

  2. Similar Questions and Discussions

    1. Controlling HHTP headers of Web Service
      My application uses a Web service that can return a very large data result. In some cases, the data returned from the Web service could be 25MB or...
  3. #2

    Default Re: ASP.NET / HHTP question

    The graphics will be cached. The pages may or may not be. But you don't want
    the ASP.Net HTML output cached in the browser, as it is
    dynamically-generated.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Complex things are made up of
    lots of simple things.

    "VR" <Victor.Rozenkrants@gat.com> wrote in message
    news:072f01c35c52$c4ccdde0$a101280a@phx.gbl...
    > Hi, all.
    >
    > I have a rookie web development question.
    >
    > I am working on creating a web site, where all pages are
    > going to have a similar look/feel: same menu on one side,
    > company logo on the other side, etc. Some of the pages
    > will be ASP.NET, some will be static HTML.
    >
    > 1. Is there any way to make sure that all the
    > graphics/HTML data cached on the client's site, when user
    > is moving from page to page. After all, all the graphics
    > is the same...
    >
    > 2. Is browser smart enough to do it?
    > 3. Is there any way to programmatically enforce it in ASP?
    > 4. Is there any way to achieve it with static HTML?
    >
    > Thanks for the help.
    >
    > VR

    Kevin Spencer Guest

  4. #3

    Default Re: ASP.NET / HHTP question

    Thanks for the reply, Kevin.

    I am still not clear on this subject:
    >But you don't want
    >the ASP.Net HTML output cached in the browser, as it is
    >dynamically-generated.
    I actually do want to have part of my ASP.Net page cached
    on client's side -- the part that is common to all pages.
    So, what I am trying to figure out is how to achieve it.

    I wanted to make a web control out of the graphics that
    are common to all pages and use it in my ASP.Net pages.
    So, is it possible to make sure that this control is
    cached (because it'll be always the same)?

    Thanks for your help.
    VR



    >-----Original Message-----
    >The graphics will be cached. The pages may or may not be.
    But you don't want
    >the ASP.Net HTML output cached in the browser, as it is
    >dynamically-generated.
    >
    >--
    >HTH,
    >
    >Kevin Spencer
    >Microsoft MVP
    >..Net Developer
    >[url]http://www.takempis.com[/url]
    >Complex things are made up of
    >lots of simple things.
    >
    >"VR" <Victor.Rozenkrants@gat.com> wrote in message
    >news:072f01c35c52$c4ccdde0$a101280a@phx.gbl...
    >> Hi, all.
    >>
    >> I have a rookie web development question.
    >>
    >> I am working on creating a web site, where all pages are
    >> going to have a similar look/feel: same menu on one
    side,
    >> company logo on the other side, etc. Some of the pages
    >> will be ASP.NET, some will be static HTML.
    >>
    >> 1. Is there any way to make sure that all the
    >> graphics/HTML data cached on the client's site, when
    user
    >> is moving from page to page. After all, all the graphics
    >> is the same...
    >>
    >> 2. Is browser smart enough to do it?
    >> 3. Is there any way to programmatically enforce it in
    ASP?
    >> 4. Is there any way to achieve it with static HTML?
    >>
    >> Thanks for the help.
    >>
    >> VR
    >
    >
    >.
    >
    VR Guest

  5. #4

    Default Re: ASP.NET / HHTP question

    Yes, it is possible as you expect. If any portions of your page remain
    static from one request to another, especially if those portions are
    somewhat expensive to render (those are generated from a database query,
    for example), you may consider using page fragment caching to cahche only
    those portions of the page.

    -Allen

    Disclaimer:
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Got .Net? [url]http://www.gotdotnet.com[/url]

    --------------------
    | Content-Class: urn:content-classes:message
    | From: "VR" <Victor.Rozenkrants@gat.com>
    | Sender: "VR" <Victor.Rozenkrants@gat.com>
    | References: <072f01c35c52$c4ccdde0$a101280a@phx.gbl>
    <OxpGkBGXDHA.2640@TK2MSFTNGP09.phx.gbl>
    | Subject: Re: ASP.NET / HHTP question
    | Date: Wed, 6 Aug 2003 14:31:30 -0700
    | Lines: 69
    |
    | Thanks for the reply, Kevin.
    |
    | I am still not clear on this subject:
    |
    | >But you don't want
    | >the ASP.Net HTML output cached in the browser, as it is
    | >dynamically-generated.
    |
    | I actually do want to have part of my ASP.Net page cached
    | on client's side -- the part that is common to all pages.
    | So, what I am trying to figure out is how to achieve it.
    |
    | I wanted to make a web control out of the graphics that
    | are common to all pages and use it in my ASP.Net pages.
    | So, is it possible to make sure that this control is
    | cached (because it'll be always the same)?
    |
    | Thanks for your help.
    | VR
    |
    |
    |
    |
    | >-----Original Message-----
    | >The graphics will be cached. The pages may or may not be.
    | But you don't want
    | >the ASP.Net HTML output cached in the browser, as it is
    | >dynamically-generated.
    | >
    | >--
    | >HTH,
    | >
    | >Kevin Spencer
    | >Microsoft MVP
    | >..Net Developer
    | >[url]http://www.takempis.com[/url]
    | >Complex things are made up of
    | >lots of simple things.
    | >
    | >"VR" <Victor.Rozenkrants@gat.com> wrote in message
    | >news:072f01c35c52$c4ccdde0$a101280a@phx.gbl...
    | >> Hi, all.
    | >>
    | >> I have a rookie web development question.
    | >>
    | >> I am working on creating a web site, where all pages are
    | >> going to have a similar look/feel: same menu on one
    | side,
    | >> company logo on the other side, etc. Some of the pages
    | >> will be ASP.NET, some will be static HTML.
    | >>
    | >> 1. Is there any way to make sure that all the
    | >> graphics/HTML data cached on the client's site, when
    | user
    | >> is moving from page to page. After all, all the graphics
    | >> is the same...
    | >>
    | >> 2. Is browser smart enough to do it?
    | >> 3. Is there any way to programmatically enforce it in
    | ASP?
    | >> 4. Is there any way to achieve it with static HTML?
    | >>
    | >> Thanks for the help.
    | >>
    | >> VR
    | >
    | >
    | >.
    | >
    |

    [MSFT]Allen Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139