[Prototype-core] Re: Ajax.Updater and Cacheability

2007-04-21 Thread [EMAIL PROTECTED]
Internet Explorer Cache problem using ajax is simply fixed by adding correct headers in response. Read more at: http://www.skybyte.net/articles/ajax_updater_cache/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Pr

[Prototype-core] Re: Ajax.Updater and Cacheability

2007-03-23 Thread Walter
Sorry, the function should be: function dfs_langs(n) { if(dfs_lc=='in_progress') { dfs_l_w.push('e(\''+n+'\').innerHTML=dfs_lc;'); } else { dfs_lc='in_progress'; new Ajax.Request('/m_ajax/languages', {method:'get',onComplete:function(tr) {dfs_lc=tr.responseText;e(n).innerHTML=tr.response

[Prototype-core] Re: Ajax.Updater and Cacheability

2007-03-23 Thread Walter
>> Ajax.SingleUpdater - Fetches the URL once, then returns the same >> content on >> subsequent calls with the same URL. > We already have that. Make a single Ajax.Request, then re-use the content. Right. As I said, people can re-implement this each time, though I think this is a drag and should

[Prototype-core] Re: Ajax.Updater and Cacheability

2007-03-23 Thread Mislav Marohnić
On 3/23/07, Walter <[EMAIL PROTECTED]> wrote: > > > Ajax.SingleUpdater - Fetches the URL once, then returns the same > content on > subsequent calls with the same URL. We already have that. Make a single Ajax.Request, then re-use the content. Ajax.CacheableUpdater - Respects standard HTTP 'Expir