Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: How to Cache a page for 24 hours in Javascript Date: Wed, 08 Jul 2015 12:13:17 +0200 Organization: PointedEars Software (PES) Lines: 26 Message-ID: <3559522.acKQn9LboL@PointedEars.de> References: <559cf681$0$2881$e4fe514c@news2.news.xs4all.nl> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1436350587 31087 eJwFwQkBwDAIA0BLZSVQ5PAE/xJ2h2ti7WowxWLX4ghK3PqR1zvB3uE3lRGTWTjqfEtiVvADM1gSXg== (8 Jul 2015 10:16:27 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 8 Jul 2015 10:16:27 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYEBACAEBMCVEt43jtD+I3TnCkGFwWH+/IkCfDh36+nuGomc8YxW2ipOJXN2KrojrlwnCyUrlm0xfmWQFZg= Cancel-Lock: sha1:BJgorX1YGDhYyV882Jtrnkh7es0= X-NNTP-Posting-Host: eJwVxsERACEIA8CWdICg7UiS/ku4uX1tBTamE4Usl634AyUXVT068njirVQQoZN7CDbufeIHOa0SPA== Xref: csiph.com comp.lang.javascript:28363 Erwin Moller wrote: > On 7/8/2015 12:46 AM, Luis wrote: >> 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? > > […] > I think you need to read up a little on the mechanics of caching (and > some browser-bugs). > You can start in many places, so here is a random one: > > http://stackoverflow.com/questions/4480304/how-to-set-http-headers-for-cache-control For me, the standard text on Web caching still is I notice that it has been redesigned since my last visit, and is better readable now. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.