Sunday, December 28, 2008

[jQuery] Re: How do I cache

Are you looking in Temporary Internet Files?

On Dec 28, 5:18 am, bob <xoxeo...@gmail.com> wrote:
> I would like to have a registration form cached for 1 year public and
> private.
> How do i go about it.
> Thats what I tried and register.html was not cached.
>
> jq.ajax({
>                 type: "POST",
>         url: "http://www.example.com/register.html",
>         dataType: "html",
>                 cache: true,
>
>         success: function(response) {}});
>
> =================================
> content of register.html
>
> <div>
> <form name="registerForm" method="post" onsubmit="return false;"
> autocomplete="off">
>
> <input type="text" name="username" id="username" value=""/>
> <input type="password" name="pass" id="pass" value=""/>
> <input type="text" name="email" id="email" value=""/>
>
> </form>
> </div>

No comments: