当前位置:网站首页>测试cos-html-cache静态缓存插件
测试cos-html-cache静态缓存插件
2022-06-11 11:06:00 【星哥玩云】
之前测试了一下WP Super Cache静态插件,这次又测试了cos-html-cache静态缓存插件,重点还是解决wp-postviews插件与HotNews Pro主题兼容问题。-cache-static-caching-plugin.html
以HotNews Pro 2.7.1 Plus自带的wp-postviews 1.61版为例,本方法不适用于最新版。-cache-static-caching-plugin.html
启用cos-html-cache静态缓存插件后,wp-postviews插件不统计-cache-static-caching-plugin.html
打开Wordpress根目录的wp-config.php配置文件,在/** WordPress 数据库的名称 */下添加:-cache-static-caching-plugin.html
- define('WP_CACHE', true);
实现wp-postviews插件ajax方式统计。-cache-static-caching-plugin.html
解决IE浏览器脚本错误-cache-static-caching-plugin.html
启用wp-postviews插件ajax方式统计后,会重复加载jquery.js与主题集成的JS冲突,解决办法:-cache-static-caching-plugin.html
打开wp-postviews插件目录的wp-postviews.php查找:-cache-static-caching-plugin.html
- wp_print_scripts('jquery');
删除或者注释掉:-cache-static-caching-plugin.html
- //wp_print_scripts('jquery');
通过上述修改后,对计数不会造成影响,当页面重新缓存后,会发现计数还在默默的进行中。-cache-static-caching-plugin.html
下载链接失效,另行解决中.....-cache-static-caching-plugin.html
WP Super Cache与cos-html-cache静态缓存插件,前者功能设置较多,后者使用简单,据说后者效果好于前者。-cache-static-caching-plugin.html
最后要说的是,如果你还是个WP新手还在学习使用中,建议先不要安装静态缓存插件,会产生许多问题.......-cache-static-caching-plugin.html
-cache-static-caching-plugin.html
边栏推荐
- 小 P 周刊 Vol.08
- 封装组件系列-(一)-插槽及动态组件
- 杰理之获取 BLE 区分复位跟唤醒【篇】
- 英文论文阅读知识总结
- Content-Type: multipart/form-data; boundary=${bound}
- Only when you find your own advantages can you work tirelessly and get twice the result with half the effort!
- 使用Yolov5训练好模型调用电脑自带摄像头时出现问题:TypeError: argument of type “int‘ is not iterable的解决方法
- How to form a good habit? By perseverance? By determination? None of them!
- Summary of English thesis reading knowledge
- Electron desktop development (development of an alarm clock [End])
猜你喜欢

企业微信小程序避坑指南,欢迎补充。。。

After 95, programmers in big factories were sentenced for deleting databases! Dissatisfied with the leaders because the project was taken over

Use yolov5 to train your own data set and get started quickly

Display of receiving address list 【 project mall 】

Enterprise wechat applet pit avoidance guide, welcome to add...

Inventory of the 9 most famous work task management software at home and abroad

数据库系统概论 ---- 第二章 -- 关系数据库(2.4 关系代数)

Exploration of kangaroo cloud data stack on spark SQL optimization based on CBO
![Jerry's acquisition of ble distinguishes between reset and wake-up [chapter]](/img/cb/e127628f20c36abe3287a175ae5948.png)
Jerry's acquisition of ble distinguishes between reset and wake-up [chapter]

杰理之获取 BLE OTA 双备份升级(只能用于 4Mbits 以上的芯片)【篇】
随机推荐
AI security and Privacy Forum issue 11 - stable learning: finding common ground between causal reasoning and machine learning
Taking the cooperation between different banks as an example, the construction of small program ecology
How to form a good habit? By perseverance? By determination? None of them!
Installing redis in CentOS 7 environment
Vscade -- vscode multi window name is configured as project name
外观模式--在各种套餐中早就用到啦!
数字藏品app小程序公众号系统开发
985 University doctors became popular because of their thanks in classical Chinese! The tutor commented that he not only wrote well in sci
Définir l'adresse de réception par défaut [Centre commercial du projet]
使用Yolov5训练好模型调用电脑自带摄像头时出现问题:TypeError: argument of type “int‘ is not iterable的解决方法
使用Yolov5训练自己制作的数据集,快速上手
Split data - horizontal split and vertical split
AcWing 1944. Record keeping (hash, STL)
Remote monitoring project offline log specification
Jerry's blepr0 and PR1 are used as ordinary IO ports [chapter]
正大期货主账户预4 周三信息汇总
1712. 将数组分成三个子数组的方案数 ●●
Inventory of the 9 most famous work task management software at home and abroad
[K-means] K-means learning examples
VOC格式数据集转yolo格式数据集的方法