- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
优化Wordpress-wp终极优化手册(Optimize the Wordpress-wp ultimate optimization manual)
优化Wordpress-wp终极优化手册(Optimize the Wordpress-wp ultimate optimization manual)
Wordpress is very powerful, so many plug-ins and fancy interfaces make it slow down. Therefore, how to optimize to speed up visitors browsing speed has become a problem for wper. I will sum up a lot of master methods, summed up the text into this, I hope we can help. (it is recommended to update the WP system to more than 2.1.2)
Optimize all the pictures (images):
The picture is actually key read speed, the larger picture is likely to reach 100K; therefore, before upload your own pictures, make sure you use the Photoshop to save (save for Web) function, image optimization. (for example, save to GIF, PNG format, etc.)
Close all unnecessary plug-ins (plugins):
Before you install the plug-in, first ask yourself, do you have to use this plug-in?. Dont install super plug-ins such as UTW and reduce the number of plug-ins as much as possible.
Open the cache (Cache) feature that comes with WP:
Open the wp-config.php file under the WP root directory and add define (ENABLE_CACHE, true) before the last line;
Change the cache directory property in WP-content directory to 777 to ensure that the system can write to cache.
If your blog day visits are more than 200, it is recommended to install the WP-Cache plug-in, otherwise it is not recommended.
Let WP-Cache also use Gzip: if you install WP-Cache, WP-Cache must know the requirements must be shut down WP built-in GZip function, but we can add code in wp-cache-phase1.php to achieve Gzip compression function.
Open wp-cache-phase1.php, probably in the 35 line or so, find the following code:
Foreach ($meta-headers, as, $header) {
Header ($header);
Add the following code before this code:
If (extension_loaded (zlib)) ob_start (ob_gzhandler);
Merge JS and CSS files: many plug-ins have their own JS files. When the system reads these files, a large amount of HTTP requests is generated, resulting in a delay of about 0.2 sec / s.. Therefore, merging all the JS and
您可能关注的文档
- 中基层管理人员核心管理技能提升训练(Training of core management skills in middle and primary level managers).doc
- 中外资商业银行个人理财业务竞争力比较分析(Comparative analysis of the competitiveness of personal financial services between Chinese and foreign commercial banks).doc
- 中央气象网城市代码(Central Weather Network City Code).doc
- 中央电视台知名主持人新诗会读错字有伤大雅(Famous CCTV host will read typo indelicate Poetry).doc
- 中央空调系统001(Central air conditioning system 001).doc
- 中央集权目录(Centralized directory).doc
- 中学宿舍管理中存在的问题及对策(Problems and Countermeasures in middle school dormitory management).doc
- 中央级新购大型科学仪器设备联合评议工作(Joint evaluation of newly purchased large scientific instruments and equipment at the central level).doc
- 中国近现代史纲要第1章物质世界及其发展规律重点(The outline of Chinese modern history, the first chapter focuses on the material world and its development law).doc
- 中学教育教学知识与能力第3章习题(Middle school education, teaching knowledge and ability, the third chapter exercises).doc
- 优化发展环境专项效能监察工作方案(Optimize the development environment special efficiency supervision work program).doc
- 优尔博(Youo Bo).doc
- 优生准备怀孕倒计时(Eugenics prepare for the countdown to pregnancy).doc
- 优秀员工必备的八大心态(Eight basic mentality of excellent employees).doc
- 优秀儿童书籍,少儿图书推荐(Excellent children's books, children's books recommended).doc
- 优盘全系列总结(USB series summary).doc
- 优秀教案《前赤壁赋》教案(Excellent teaching plan the former Chibi Fu lesson plan).doc
- 优秀寝室申请书资料(Excellent dormitory application information).doc
- 优秀教师教学案例分析的心得体会(Experience of teaching case analysis of excellent teachers).doc
- 优秀村支书事迹材料(Outstanding deeds of the Secretary of the village branch).doc
文档评论(0)