摘要: localStorage和sessionStorage localStorage:永久存储,只要不清除缓存,会一直存在 sessionStorage:临时存储,只在当前窗口有效,关闭当前窗口或新打开窗口无效 cookie:可以设置缓存时间 <!DOCTYPE html> <html> <head l 阅读全文
posted @ 2018-03-28 15:13 dongxiaolei 阅读(4205) 评论(0) 推荐(0) 编辑