Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28356

Re: How to Cache a page for 24 hours in Javascript

Newsgroups comp.lang.javascript
Date 2015-07-07 19:32 -0700
References <d4eabb49-1e6f-4341-8785-fa7d7450951e@googlegroups.com> <e7fca1e7-65f4-420b-aa65-eacfc67be6dc@googlegroups.com> <e79f4a1f-1e6a-4581-907e-4f1d3d8a6593@googlegroups.com>
Message-ID <b03dc986-5e8d-4e72-8cd8-a1989a308cb6@googlegroups.com> (permalink)
Subject Re: How to Cache a page for 24 hours in Javascript
From "Michael Haufe (TNO)" <tno@thenewobjective.com>

Show all headers | View raw


On Tuesday, July 7, 2015 at 5:46:38 PM UTC-5, Luis wrote:
> Hi Michael,
> Why the round trip each time the page is loaded?
> Engineers access the same page multiple times per appointment.
> Why not store the page on the client for the rest of the day?

That's not how caching works.

Set the appropriate headers from the server and let every point in between do its job.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to Cache a page for 24 hours in Javascript Luis <roy1mos@gmail.com> - 2015-07-07 03:42 -0700
  Re: How to Cache a page for 24 hours in Javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-07 13:17 +0200
    Re: How to Cache a page for 24 hours in Javascript Luis <roy1mos@gmail.com> - 2015-07-07 15:44 -0700
      Re: How to Cache a page for 24 hours in Javascript "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-07-08 00:54 +0200
      Re: How to Cache a page for 24 hours in Javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-08 09:22 +0200
  Re: How to Cache a page for 24 hours in Javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-07 08:17 -0700
    Re: How to Cache a page for 24 hours in Javascript Luis <roy1mos@gmail.com> - 2015-07-07 15:46 -0700
      Re: How to Cache a page for 24 hours in Javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-07 19:32 -0700
      Re: How to Cache a page for 24 hours in Javascript Erwin Moller <erwinmollerusenet@xs4all.nl> - 2015-07-08 12:07 +0200
        Re: How to Cache a page for 24 hours in Javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-08 12:13 +0200
          Re: How to Cache a page for 24 hours in Javascript Erwin Moller <erwinmollerusenet@xs4all.nl> - 2015-07-08 15:20 +0200

csiph-web