Ask a Question related to ASP.NET General, Design and Development.
-
VR #1
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
-
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you
<RonGrossi382872@yahoo.com> wrote in message news:1114393703.900419.199790@f14g2000cwb.googlegroups.com... This is the most important question of... -
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... -
Kevin Spencer #2
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
-
VR #3
Re: ASP.NET / HHTP question
Thanks for the reply, Kevin.
I am still not clear on this subject:
I actually do want to have part of my ASP.Net page cached>But you don't want
>the ASP.Net HTML output cached in the browser, as it is
>dynamically-generated.
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
But you don't want>-----Original Message-----
>The graphics will be cached. The pages may or may not be.side,>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 oneuser>> 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, whenASP?>> 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>>> 4. Is there any way to achieve it with static HTML?
>>
>> Thanks for the help.
>>
>> VR
>
>.
>VR Guest
-
[MSFT]Allen #4
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



Reply With Quote

