On 3/29/08 2:12 PM, "Brian Eaton" <[EMAIL PROTECTED]> wrote:

> On Sat, Mar 29, 2008 at 1:45 PM, Paul Lindner <[EMAIL PROTECTED]> wrote:
>>  Here's a patch I cranked out to help us out for the moment.  It adds a
>> REFRESH_INTERVAL param for makeRequest().  If present we use a cacheable GET
>> request instead of a POST request.
> 
> No patch came through for me for some reason.  Maybe you could attach
> it to a jira issue instead?
> 
> Why require gadget code changes to take advantage of the cache?  Are
> there heuristics that could be used to enable this by default?  (For
> example, if the makeRequest parameters specify a 'GET' with no query
> parameters, that's a strong indication that the response should be
> cacheable.)

Right now none of the calls gadgets.io.makeRequest() makes are cacheable in
the browser.  This is very different from iGoogle/gmodules.com and is
causing us issues.

The patch insures that content is fetched in such a way that the browser
will cache it.

I attached the patch to SHINDIG-162, however this is only a stopgap and
there may be a much better way of achieving these goals.

Reply via email to