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


Groups > comp.lang.javascript > #28358

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

Newsgroups comp.lang.javascript
Subject Re: How to Cache a page for 24 hours in Javascript
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <d4eabb49-1e6f-4341-8785-fa7d7450951e@googlegroups.com> <XnsA4D0873B29BADeejj99@194.109.6.166> <eb32ed0c-6d97-4d7f-86bd-f5e3383b7e0c@googlegroups.com>
Date 2015-07-08 09:22 +0200
Message-ID <XnsA4D15F6D5F8FBeejj99@194.109.6.166> (permalink)

Show all headers | View raw


Luis <roy1mos@gmail.com> wrote on 08 Jul 2015 in comp.lang.javascript:

> I need to cache on the client NOT on the server.

[please do not top post on usenet]

I suspect you mean browser with "client"?
 
Browser cashing has a special meaning, 
that is just for the benefit of a quick reloading of a page.
[yes, I know browser-security can be swithed off, 
please know what you are doing!]

Perhaps it is that you want to "backup" a website by "catching" all new 
content for a while [days/weeks]?

I would not use a browser for that, as a browser is made secure by NOT being 
able to have access to your HDs.

Better use wscript/jscript on your pc for that, 
using Xmlhttp, Scripting.FileSystemObject and perhaps a database.
Javascript can be used there.

Or, on an ASP platform on a different server than your PHP-one,
also using Xmlhttp, Scripting.FileSystemObject and perhaps a database.
You can do that with serverside Javascript.

Both can be triggered to do this job say several times a day.

> 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. 

"static daily"??

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

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