AJAX requests are cached by default, but they can only occur from a
web server and must occur in the domain the page is hosted in.  For
example if you have a HTML page at www.example.com that includes some
AJAX javascript, the AJAX requests can only occur on files on www.example.com

On Oct 26, 1:16 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> hi,
>
> ok, so javascript does not have a way to access local file. a related
> question, can ajax loaded file be cahced?
>
> On Oct 26, 6:37 pm, Gordon <[EMAIL PROTECTED]> wrote:
>
> > No, this is deliberately left out of javascript on the grounds that it
> > could prove a massive security risk if abused.
>
> > On Oct 26, 10:49 am, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > Hi,
>
> > > the $(element).load(url) works well, but is there a way load from a
> > > local file system? thanks.
>
> > > A.C.

Reply via email to