08 2021 档案
摘要:1.根目录(/)访问 a.使用server_name,配置多域名 b.使用端口 2.非根目录(/path/index.html) server { listen 80; server_name _; location /path/{ proxy_pass http://targetIp:target
阅读全文
摘要:####安装readline //unix like pip install gnureadline //mac pip install readline //windows pip install gnureadline ####~/.pythonrc import rlcompleter, re
阅读全文
摘要:####安装包 yum config-manager --set-enabled powertools //jdk8 headless yum install java-1.8.0-openjdk-headless-fastdebug //jdk11 headless yum install jav
阅读全文
摘要:echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list echo "deb http://mirrors.163.com/debian/ jessie-proposed
阅读全文
摘要:发起请求 → 客户端缓存有效性判定 → 服务端缓存有效性判定 // 客户端缓存行为,服务器与客户端的时钟需保持严格的同步 1.Expires // http1.1客户端缓存行为,max-age使用相对时间,优先级高于1 //no-cache直接使用服务端评估缓存缓存有效性 2.Cache-Contr
阅读全文

浙公网安备 33010602011771号