Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: How to Cache a page for 24 hours in Javascript Date: Wed, 08 Jul 2015 00:54:18 +0200 Organization: solani.org Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1436309655 16369 eJwFwQERADEIAzBLTwcF5LAd9S/hkzg0vnQGPRTq+mrlNuoDG3QFVombNu5J6C6f94yB1fEDDr4Qgw== (7 Jul 2015 22:54:15 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 7 Jul 2015 22:54:15 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 X-User-ID: eJwNysEBwEAEBMCWwrKinMPpv4Rk3uOgsMPoNF9f6NMrb+iYNKW1XBWs+VsuIlB5bHDzRmWeDwgQEKc= In-Reply-To: Cancel-Lock: sha1:TsUe/Go8fpasFkLgRNLPtfPs3gw= X-NNTP-Posting-Host: eJwFwQkBACAIA8BKKhtKHZ71j+AdzbfXhdNBURiuQ3jX7DR1RvjTYiy8Oop9NUQVMGnZ+hkrEXA= Xref: csiph.com comp.lang.javascript:28350 Luis wrote: > I need to cache on the client NOT on the server. > It's a corporate mobile application with lots of files/video content that I am working on. > The content is pretty much static daily for each group within a large department. Let the browser do the caching; don't do it yourself (unless you have very specific reasons). -- Christoph M. Becker