Ask a Question related to ASP.NET General, Design and Development.
-
Pål Johansen #1
Client caching
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.
Pål Johansen Guest
-
Flash Webcam client <-> client (not client <-> server<-> client)
Dear Flash Team, supporter and regular mortals (Like myself) I am currently running a IRC chat with mostly webclients connected. We currently offer... -
Newbie Question -- Bypass client image caching?
I'm using cfx_getImage to extract images from SQL Server...works great. The image is used on a person's contact info screen within a standard... -
Adding client-script to handle client events
My code is in a search box pop-up that is opened by a parent page. From the search box, I need to be able to add code to a hyperlink in my datagrid... -
to prevent client side web page caching
Hi, I wish to avoid caching asp pages at the user end . Currently I have declared Response.Expires=0 at the top of my asp page. I have also used... -
stopping client side caching
What can be done to keep pages from caching and to hit the server each and every time they are accessed? When our users hit their back button on... -
Kevin Spencer #2
Re: Client caching
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
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.
"Pål Johansen" <mummiez@hotmail.com> wrote in message
news:%23rvsH6AXDHA.2648@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.
>
>
Kevin Spencer Guest
-
Pål Johansen #3
Re: Client caching
> 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" <kevin@takempis.com> wrote in message
news:OwyI%23LCXDHA.1492@TK2MSFTNGP12.phx.gbl...you> In a sense, you don't. The browser automatically caches such things. If> make a change to the file on the server, the browser will download the
> latest version.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> [url]http://www.takempis.com[/url]
> Complex things are made up of
> lots of simple things.
>
> "Pål Johansen" <mummiez@hotmail.com> wrote in message
> news:es7wUlBXDHA.2476@tk2msftngp13.phx.gbl...> not> > Yes...but how do I control that.
> > Take this excample. Lets say I want to client side cache "clock.js" but>> > 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" <kevin@takempis.com> wrote in message
> > news:%23Pe1ESBXDHA.1480@tk2msftngp13.phx.gbl...> > images> > > You can cache anything that is normally cached on the client, such as> > cache.> > > an other binaries, .js files, and cookies.
> > >
> > > --
> > > HTH,
> > >
> > > Kevin Spencer
> > > Microsoft MVP
> > > .Net Developer
> > > [url]http://www.takempis.com[/url]
> > > Complex things are made up of
> > > lots of simple things.
> > >
> > > "Pål Johansen" <mummiez@hotmail.com> wrote in message
> > > news:%23rvsH6AXDHA.2648@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> >> > > >
> > > >
> > >
> > >
> >
>
Pål Johansen Guest
-
Pål Johansen #4
Re: Client caching
Thanx alot. Didn't know that.
"Kevin Spencer" <kevin@takempis.com> wrote in message
news:uC6HyDEXDHA.1640@TK2MSFTNGP10.phx.gbl...file> > It wont cache clock.js either, because after the server prosess thatpage> it>> > will just be a part of the whole page.(clock.js is server side include)
> If you use a server-side include that creates a script tag like the
> following, only a change in the "clock.js" file would cause the browser to
> re-download it:
>
> <script type="text/javascript" src="clock.js"></script>
>
> The reason is that the reference to the.js file is not changed when theinto> it is in changes. It works just like an image tag. Putting an image tagwith> a page that changes doesn't cause the browser to re-download the imagefile> every request. It only re-downloads the page.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> [url]http://www.takempis.com[/url]
> Complex things are made up of
> lots of simple things.
>
>
> "Pål Johansen" <mummiez@hotmail.com> wrote in message
> news:eOXVxiDXDHA.208@tk2msftngp13.phx.gbl...> > True, and thats the problem.> > > In a sense, you don't.
> > It wont cache clock.js either, because after the server prosess thatIf> 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" <kevin@takempis.com> wrote in message
> > news:OwyI%23LCXDHA.1492@TK2MSFTNGP12.phx.gbl...> > > In a sense, you don't. The browser automatically caches such things.clients> but> > you> > > make a change to the file on the server, the browser will download the
> > > latest version.
> > >
> > > --
> > > HTH,
> > >
> > > Kevin Spencer
> > > Microsoft MVP
> > > .Net Developer
> > > [url]http://www.takempis.com[/url]
> > > Complex things are made up of
> > > lots of simple things.
> > >
> > > "Pål Johansen" <mummiez@hotmail.com> wrote in message
> > > news:es7wUlBXDHA.2476@tk2msftngp13.phx.gbl...
> > > > Yes...but how do I control that.
> > > > Take this excample. Lets say I want to client side cache "clock.js"> as> > > 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" <kevin@takempis.com> wrote in message
> > > > news:%23Pe1ESBXDHA.1480@tk2msftngp13.phx.gbl...
> > > > > You can cache anything that is normally cached on the client, such> > > > images
> > > > > an other binaries, .js files, and cookies.
> > > > >
> > > > > --
> > > > > HTH,
> > > > >
> > > > > Kevin Spencer
> > > > > Microsoft MVP
> > > > > .Net Developer
> > > > > [url]http://www.takempis.com[/url]
> > > > > Complex things are made up of
> > > > > lots of simple things.
> > > > >
> > > > > "Pål Johansen" <mummiez@hotmail.com> wrote in message
> > > > > news:%23rvsH6AXDHA.2648@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>> >> > > > cache.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
Pål Johansen Guest



Reply With Quote

