当前位置:网站首页>网站预缓存代码
网站预缓存代码
2022-06-22 07:02:00 【龙飞瘦了】
本站长自用代码,当网站启用缓存时,用脚本自动访问网站上的所,使页面提前缓存,好处就不用多说了,懂得自然懂
#/bin/bash
#进入到网站根目录,请按实际填写
cd /www/wwwroot/1000xi/
#从sitemap.xml中取出所有页面地址, 每隔0.5秒请求一次,触发缓存。
for url in $(awk -F"<loc>|</loc>" '{print $2}' sitemap.xml)
do
wget -O /dev/null $url
sleep 0.5
done
边栏推荐
- [out of distribution detection] energy based out of distribution detection nips' 20
- Yolov1 (prediction process)
- Developing a contract application with low code
- Data security practice guide - data collection security practice - data classification and classification
- Self supervised learning for general out of distribution detection AAAI '20
- 一个算子在深度学习框架中的旅程
- Great progress in code
- [fundamentals of machine learning 03] gbdt (gradient boost decision tree)
- In depth analysis of 20million OP events stolen by optimization (including code)
- C language - deep understanding of arrays
猜你喜欢

CNN model collection | RESNET variants -wideresnet interpretation

Developing a contract application with low code

C language - deep understanding of arrays
![[distributed external detection] Odin ICLR '18](/img/8b/f1984f814d69391d80d251cfed0b09.jpg)
[distributed external detection] Odin ICLR '18

C语言——深入理解数组

Tpflow v6.0.6 official release

Shengxin literature learning (Part1) -- precision: a approach to transfer predictors of drug response from pre-clinical ...

Xh_CMS渗透测试文档

【GCN-RS】UltraGCN: Ultra Simplification of Graph Convolutional Networks for Recommendation (CIKM‘21)

Anaconda introduction, installation and use nanny level tutorial
随机推荐
OpenGL - Textures
June 21, 2022: golang multiple choice question, what does the following golang code output? A:3; B:4; C:100; D: Compilation failed. package main import ( “fmt“ ) func
Py's scorecardpy: a detailed introduction to the introduction, installation and use of scorecardpy
Buuctf part Title WP
[outside distribution detection] your classifier is secret an energy based model and you head treat it like one ICLR '20
Introduction to 51 single chip microcomputer - LED light
Don't throw away the electric kettle. It's easy to fix!
Network layer: IP protocol
Iframe framework, native JS routing
Leetcode: interview question 08.12 Eight queens [DFS + backtrack]
Neuron+eKuiper 实现工业物联网数据采集、清理与反控
Theory and application of naturallanguageprocessing
Yolov1 (prediction process)
【GAN】SentiGAN IJCAI’18 Distinguished Paper
EMC solutions
Chrome install driver
Leetcode--- search insertion location
[fundamentals of machine learning 03] gbdt (gradient boost decision tree)
如何才能有效缓解焦虑?看看猿辅导怎么说
PDF转图片实现方式