473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

ASP.NET / HHTP question

VR
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
Nov 17 '05 #1
3 1331
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
http://www.takempis.com
Complex things are made up of
lots of simple things.

"VR" <Vi****************@gat.com> wrote in message
news:07****************************@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

Nov 17 '05 #2
VR
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 wantthe ASP.Net HTML output cached in the browser, as it is
dynamically-generated.

--
HTH,

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

"VR" <Vi****************@gat.com> wrote in message
news:07****************************@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

.

Nov 17 '05 #3
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? http://www.gotdotnet.com

--------------------
| Content-Class: urn:content-classes:message
| From: "VR" <Vi****************@gat.com>
| Sender: "VR" <Vi****************@gat.com>
| References: <07****************************@phx.gbl>
<Ox**************@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
| >http://www.takempis.com
| >Complex things are made up of
| >lots of simple things.
| >
| >"VR" <Vi****************@gat.com> wrote in message
| >news:07****************************@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
| >
| >
| >.
| >
|

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
7
by: nospam | last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types, so, since it seems to me that Partial Types is still in the design or development stages at Microsoft, I am going to ask...
6
by: Bryan Martin | last post by:
Ok im trying to figure out how internet explorers file download box always seem to at least come close to knowing the exact file size/time to download. From what I can tell its getting its not...
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
53
by: Jeff | last post by:
In the function below, can size ever be 0 (zero)? char *clc_strdup(const char * CLC_RESTRICT s) { size_t size; char *p; clc_assert_not_null(clc_strdup, s); size = strlen(s) + 1;
56
by: spibou | last post by:
In the statement "a *= expression" is expression assumed to be parenthesized ? For example if I write "a *= b+c" is this the same as "a = a * (b+c)" or "a = a * b+c" ?
2
by: Allan Ebdrup | last post by:
Hi, I'm trying to render a Matrix question in my ASP.Net 2.0 page, A matrix question is a question where you have several options that can all be rated according to several possible ratings (from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.