background picture of the home page

Hi,Friend

MySQL 杂谈

1.执行一条select语句期间执行了什么 建立连接 查询缓存:8.0以删除此模块 在当前语句执行之前会解析出当前语句的第一个字段,如果是select 的则会查询缓存,sql语句查询出的结果是以键值对存储在缓存中的,如果命中则直接返回,不会向下执行。但是对于经常更新的表来说,缓存功能就很鸡肋,因为每

thumbnail of the cover of the post

小技巧~Σ(⊙▽⊙"a不定时更新

1.前端:vue3发现发送请求调用的是自己的接口,而不是后端接口 那就看一下前端的配置文件 env 全局默认配置文件,无论什么环境都会加载合并 -> npm run build 两个文件都会加载 .env.development 开发环境下的配置文件 -> npm run serve .env.pr

thumbnail of the cover of the post

替代if几种写法

1.Optional类 Optional.of("123").ifPresent(e -> { // 不为空的话则执行下面代码 }); // 返回布尔值 Optional<Object> o = Optional.ofNullable(null); boolean present = o.

thumbnail of the cover of the post

解决跨域问题

1.nginx反向代理 1.1修改nginx配置 nginx.conf worker_processes 1; events { worker_connections 1024; } http { include mime.types; defau

thumbnail of the cover of the post