> In a sense, you don't.
True, and thats the problem.
It wont cache clock.js either, because after the server prosess that file it
will just be a part of the whole page.(clock.js is server side include)
So if one letter changed on the page the client will download all of the
page over again.(except the cached images) Even though clock.js is
unchanged.
But it wont cache
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:Ow****************@TK2MSFTNGP12.phx.gbl...
In a sense, you don't. The browser automatically caches such things. If
you make a change to the file on the server, the browser will download the
latest version.
--
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
"Pål Johansen" <mu*****@hotmail.com> wrote in message
news:es**************@tk2msftngp13.phx.gbl... Yes...but how do I control that.
Take this excample. Lets say I want to client side cache "clock.js" but
not the rest of the page.
<form action="" method="post" name="clock" id="clock" >
<!--#include file="javaScripts/clock.js" -->
<!--#include virtual="/Mainpages/clock.html-->
</form>
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... You can cache anything that is normally cached on the client, such as
images an other binaries, .js files, and cookies.
--
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
"Pål Johansen" <mu*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
> Is it possible to cache portions of a page client side.
> I have som include pages that I would like to store at the clients
cache. >
>