From: Argiris K. <be...@us...> - 2005-12-10 03:23:28
|
Update of /cvsroot/magicajax/magicajax/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26315/Core Modified Files: MagicAjaxModule.cs Log Message: The 'AjaxCallObject.js.aspx' external script request is now cached by the browser. Index: MagicAjaxModule.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/MagicAjaxModule.cs,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** MagicAjaxModule.cs 5 Dec 2005 18:44:31 -0000 1.39 --- MagicAjaxModule.cs 10 Dec 2005 03:23:17 -0000 1.40 *************** *** 417,420 **** --- 417,421 ---- } context.Response.Write(cachedAjaxCallObjectJs); + context.Response.Cache.SetExpires(DateTime.Now.AddYears(1)); context.Response.End(); } |