08 2012 档案

摘要:Ajax请求与浏览器缓存在现代Web应用程序中,前端代码充斥着大量的Ajax请求,如果对于Ajax请求可以使用浏览器缓存,那么可以显著地减少网络请求,提高程序响应速度。1. Ajax Request使用jQuery框架可以很方便的进行Ajax请求,示例代码如下:1 $.ajax({2 url : 'url',3 dataType : "xml",4 cache: true,5 success : function(xml, status){ 6 }7 });非常简单,注意其中的第4行代码:cache:true,显式的要求如果当前请... 阅读全文
posted @ 2012-08-23 11:38 ted 阅读(23608) 评论(1) 推荐(3) 编辑
摘要:学习了Java没多久,有一些基础概念有点犯迷惑。今天偶遇好文,摘录在此:JDK (Java Development Kit)Java Developer Kit contains tools needed to develop the Java programs, and JRE to run the programs. The tools include compiler (javac.exe), Java application launcher (java.exe), Appletviewer, etc…Compiler converts java code into byte code 阅读全文
posted @ 2012-08-17 16:35 ted 阅读(595) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示