[orkut-developer] Re: Image Caching not working

2008-10-21 Thread Jason
Yes, only GET requests are cached. - Jason On Oct 17, 8:20 pm, JSON [EMAIL PROTECTED] wrote: Thank you, Jason. Also, from what we are seeing on makeRequest - I think the GET requests are cached but POST are not. ~ JSON On Oct 16, 1:36 pm, akshay choudhary [EMAIL PROTECTED] wrote:

[orkut-developer] Re: Image Caching not working

2008-10-17 Thread JSON
Thank you, Jason. Also, from what we are seeing on makeRequest - I think the GET requests are cached but POST are not. ~ JSON On Oct 16, 1:36 pm, akshay choudhary [EMAIL PROTECTED] wrote: thank for your feed back now its ok. On 10/16/08, Jason [EMAIL PROTECTED] wrote: Yes, requests

[orkut-developer] Re: Image Caching not working

2008-10-16 Thread Jason
Yes, requests issued using gadgets.io.makeRequest are cached. The article at http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest details how to write a function to effectively control how long responses are cached. URL rewriting is largely for static content like images that

[orkut-developer] Re: Image Caching not working

2008-10-13 Thread JSON
I wonder if the content-rewrite tags are supposed to work only for img tags in the XML file (Application Spec) and not for the data returned by a makeRequest. Our images are rendered from the response of a makeRequest. Is that the reason? On Oct 10, 5:01 am, JSON [EMAIL PROTECTED] wrote: Hello,

[orkut-developer] Re: Image Caching not working

2008-10-13 Thread JSON
Does gadgets.io.getProxyUrl function get the URL of cached copy or does it also cache it if the file is not already cached? On Oct 13, 1:55 pm, JSON [EMAIL PROTECTED] wrote: I wonder if the content-rewrite tags are supposed to work only for img tags in the XML file (Application Spec) and not

[orkut-developer] Re: Image Caching not working

2008-10-13 Thread Swapnil Shinde
My understanding is that the caching works around any API calls you make using makeRequest. So it might call the API everytime and just return the contents of the API response from Google cache. Now for caching the images, you should be adding an expires header on them, so that they browser can

[orkut-developer] Re: Image Caching not working

2008-10-13 Thread JSON
hmm. If I am not mistaken - by default, makeRequest calls are not cached. On Oct 13, 2:08 pm, Swapnil Shinde [EMAIL PROTECTED] wrote: My understanding is that the caching works around any API calls you make using makeRequest. So it might call the API everytime and just return the contents of