1. 清除浏览器缓存 2. 打开首页 3. app.js 跟 chunk-vendors.js 超过1M,请求状态200,超过20秒 4. 如果请求状态返回304 Not Modifyed,表示加载浏览器缓存的数据 5. 优化这个20秒: 步骤一:更改路由 推荐:使用懒加载的方式: 'Element ...
分类:
其他好文 时间:
2021-01-29 11:59:55
阅读次数:
0
使用elementui框架上传组件的时候,出现session丢失,后端无法获取到sessionid,导致返回状态为未登陆 查看头部发现缺少cookie值 解决办法 设置属性with-credentials为true支持发送 cookie 凭证信 查看请求头有cookie 文件上传成功 ...
分类:
Web程序 时间:
2021-01-29 11:45:41
阅读次数:
0
难度1-Low 查看代码: <?php // Is there any input? if( array_key_exists( "name", $_GET ) && $_GET[ 'name' ] != NULL ) { // Feedback for end user echo '<pre>He ...
分类:
其他好文 时间:
2021-01-29 11:44:05
阅读次数:
0
1、修改配置文件 etc /locale.conf LANG="zh_CN.UTF-8" 2、查看更改后的系统语言变量 [root@5c46832b5c01 ~]# locale locale: Cannot set LC_CTYPE to default locale: No such file ...
分类:
编程语言 时间:
2021-01-28 12:23:02
阅读次数:
0
from selenium import webdriverfrom time import sleepdriver=webdriver.Firefox()adddress="地址"driver.get(adddress)#进入嵌套的frame中寻找元素driver.switch_to_frame( ...
分类:
编程语言 时间:
2021-01-28 12:10:48
阅读次数:
0
验证器类:Validate.php <?php namespace framework\library; class Validate { /** * 当前验证规则 * @var array */ protected $rule = []; /** * 验证提示信息 * @var array */ ...
分类:
Web程序 时间:
2021-01-28 11:58:59
阅读次数:
0
Q:第一次提交wordcount案例,OK,一切正常。再次提交,出现下述错误。完整错误粘贴如下: 21/01/27 14:55:48 INFO spark.SecurityManager: Changing modify acls groups to: 21/01/27 14:55:48 INFO ...
分类:
编程语言 时间:
2021-01-28 11:56:52
阅读次数:
0
今日内容 1. web相关概念回顾 2. web服务器软件:Tomcat 3. Servlet入门学习 web相关概念回顾 1. 软件架构 1. C/S:客户端/服务器端 2. B/S:浏览器/服务器端 2. 资源分类 1. 静态资源:所有用户访问后,得到的结果都是一样的,称为静态资源.静态资源可以 ...
分类:
Web程序 时间:
2021-01-28 11:53:30
阅读次数:
0
Woodstox是一个快速、开源的StAX实现;被视为执行效果最佳的StAX实现之一。本文主要介绍使用Woodstox来理XML,文中所使用到的软件版本:Java 1.8.0_191、woodstox-core-asl 4.4.1。 1、引入依赖 <dependency> <groupId>org. ...
分类:
编程语言 时间:
2021-01-28 11:39:34
阅读次数:
0
接着上篇来看 https://www.cnblogs.com/cuocuo/p/14329379.html <?php namespace Home\Controller; use Think\Controller; use \Think\Logs; class IndexController ex ...
分类:
Web程序 时间:
2021-01-27 13:29:47
阅读次数:
0