There seems to me to be a mismatch in expectations between gadget and
server if the makeRequest REFRESH param is set to 0, resulting in incorrect
caching of the request on the server.

If a gadget uses makeRequest and sets the REFRESH param = 0, then the
request is issued as a POST to the server, and refresh parameter is not
passed to the server.
For any other REFRESH param value, the refresh interval is set as a
parameter.

The server looks only for the refresh parameter, and doesn't care about the
request style (GET vs POST) so the content is cached on the server for the
default (3600s) time period.

Is the code incorrect ? or is my interpretation of refresh = 0 incorrect ?

brian


Reply via email to