Message from discussion
Typical Omission?: Client Side Caching Support
Received: by 10.86.57.9 with SMTP id f9mr167231fga.27.1235491419296;
Tue, 24 Feb 2009 08:03:39 -0800 (PST)
Return-Path: <craig.federi...@gmail.com>
Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190])
by mx.google.com with ESMTP id e3si655353fga.17.2009.02.24.08.03.38;
Tue, 24 Feb 2009 08:03:38 -0800 (PST)
Received-SPF: pass (google.com: domain of craig.federi...@gmail.com designates 209.85.128.190 as permitted sender) client-ip=209.85.128.190;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of craig.federi...@gmail.com designates 209.85.128.190 as permitted sender) smtp.mail=craig.federi...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by fk-out-0910.google.com with SMTP id b27so1625432fka.7
for <aribaweb@googlegroups.com>; Tue, 24 Feb 2009 08:03:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:from:to
:in-reply-to:content-type:content-transfer-encoding:mime-version
:subject:date:references:x-mailer;
bh=JIDP5YeydCcHfMkamOjF6yi0U7uJUgzGFEjuSypcTPM=;
b=VV1GObwubVztRIjEkOs2ei2svHkJMvfAbXzoA/yyDBcACdo+6kLpjUpzX/CNhIYat5
VCqBfxiTj93symRyVIjf+qGvCPJ4LN9xcGdFil5cSyG9tzHnnXBS6bME3D7YqUdhbgsN
1OHzc/N0ya4Ihzz7B7NIQARcqEeGQDn4uQjoc=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:from:to:in-reply-to:content-type
:content-transfer-encoding:mime-version:subject:date:references
:x-mailer;
b=ALJA8g9FIQDfiTOL34xf9Syxn3z+tltUY79zQvCUDuh5mfxLJwNdqQe2vBaVMaRFzc
zUhnXm4pfB+s4z6ih8nR560YbeNyYKo3LyfS6qedU4OComuJ36JBq5Ch3mnip0Fnwan3
cy7d6BQy/eei1ZhiVfHaKxk4lJUXRJojun+Xc=
Received: by 10.103.214.8 with SMTP id r8mr4566239muq.92.1235491418071;
Tue, 24 Feb 2009 08:03:38 -0800 (PST)
Return-Path: <craig.federi...@gmail.com>
Received: from ?172.16.64.198? (c-24-130-147-247.hsd1.ca.comcast.net [24.130.147.247])
by mx.google.com with ESMTPS id b9sm3401639mug.2.2009.02.24.08.03.35
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Tue, 24 Feb 2009 08:03:36 -0800 (PST)
Message-Id: <1BA5F481-E99A-4BC1-A30C-805719E53...@gmail.com>
From: Craig Federighi <craig.federi...@gmail.com>
To: aribaweb@googlegroups.com
In-Reply-To: <4589b491-a5d7-4d09-b21d-5b8fbaccc...@q9g2000yqc.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Subject: Re: Typical Omission?: Client Side Caching Support
Date: Tue, 24 Feb 2009 08:03:31 -0800
References: <4589b491-a5d7-4d09-b21d-5b8fbaccc...@q9g2000yqc.googlegroups.com>
X-Mailer: Apple Mail (2.930.3)
Hi LuxSpecs,
We wouldn't call it an "omission" as much as a "design choice"... :-)
We don't cache this data on the client because, in the general case,
we can't detect that it's statically cacheable. (e.g. your code may
be filtering this list the second time around based on other
selections on the page or other changes in server-side state). In
practice we have not found this to be a significant issue in
application responsiveness or user experience.
> want it to use that as a
> cache and do not go for them until I tell it to do so?
That last part is exactly the issue: we don't want your programming
burdened with needing to "tell it to do so" -- this leads to a lot
more code and a lot more opportunities for errors.
Thanks!
- craig
On Feb 24, 2009, at 7:26 AM, luxspes wrote:
>
> Hi!
> It seems like a simple problem, but it is not (to day, I have not been
> able to find a way to do this without complex javascript coding):
>
> You have chained comboboxes: County and State.
>
> You select USA in the Country combobox, and its 50 States are loaded
> in the States Combo (roundtrip to the server to fetch them)
>
> You select Mexico in the Country combobox, and its 32 States are
> loaded in the States Combo (roundtrip to the server to fetch them)
>
> Now you select USA in the Country combobox again... how do I tell
> Ariba that I do not want it to go to the server for them, since it
> went for them the last time I selected USA, I want it to use that as a
> cache and do not go for them until I tell it to do so?
>
> Regards,
>
> LuxSpes
>
>
> >