缓存策略 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