缓存策略 NSURLRequestCachePolicy NSURLRequestUseProtocolCachePolicy缓存策略定义在 web 协议实现中,用于请求特定的URL.是默认的URL缓存策略 Specifies that the caching logic defined in the protocol implementation, if any, is used for a particular URL load request. This is the default po
function clearCookie(){ if(document.cookie.length < 2048){ return; } //cookie大于2kb,清除cookie var cookies =document.cookie.replace(/\s*/g,'').split(';'); var cookieNameArr=$.map(cookies,function(e){ return e.split('=')[0]; }) $.each(cookieNameArr,funct
//取得cookie function getCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); //把cookie分割成组 for(var i=0;i < ca.length;i++) { var c = ca[i]; //取得字符串 while (c.charAt(0)==' ') { //判断一下字符串有没有前导空格 c = c.substring(1,c.le
MXS&Vincene ─╄OvЁ &0000007 ─╄OvЁ MXS&Vincene MXS&Vincene ─╄OvЁ:今天很残酷,明天更残酷,后天很美好,但是绝大部分人是死在明天晚上,只有那些真正的英雄才能见到后天的太阳. MXS&Vincene ─╄OvЁ:We're here to put a dent in the universe. Otherwise why else even be here? 正文>>>>>