352 384 244 263 458 932 238 843 341 347 558 692 963 192 839 419 494 209 28 133 745 948 472 26 168 392 301 444 137 314 645 864 698 98 600 717 280 432 105 610 976 350 194 286 190 60 75 22 586 469
当前位置:首页 > 亲子 > 正文

网站分析:用数据辅助设计-搜索中的实践

来源:新华网 spnh65532晚报

缓存类插件是wordpress的比较高级的一类插件,它的作用是当你博客的流量比较大的时候,开缓存插件能够显著的降低服务器的资源消耗,加快网站的访问速度。但是,低流量的网站完全没有必要使用它。因为它的弊端在于,当你修改日志、修改widget、修改主题之后,效果不会立即看到,而需要在下一个缓存周期才能看到。wordpress教程网建议,每日IP 500以下,PV 1000以下,不要使用缓存插件,否则得不偿失。 WP Super Cache This plugin generates static html files from your dynamic WordPress blog. After a html file is generated your webserver will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts. WP Super Cache是wordpress缓存类插件的龙头老大。开启之后,它会生成静态HTML文件,从而达到缓存的目的。它的效果非常显著。 Hyper Cache Hyper Cache is a new cache system for WordPress, specifically written for people which have their blogs on low resources hosting provider (cpu and mysql). Hyper Cache和WP Super Cache的实力不相上下,同样会进行HTML静态化处理。也有很多朋友推崇。 DB Cache This plugin caches every database query with given lifetime. It is much faster than other html caching plugins and uses less disk space for caching. DB Cache的缓存方式就和前两位大师有些不一样。它的作用是是缓存数据库连接的query,而不会进行页面的缓存。也就是说,所有用到数据库连接的地方,从数据库读出的数据,都会被缓存。它的效果也很不错。一般能降低十多个query数。但不太好的地方是,在后台的query也会被缓存,这样当你进行一些查看、修改操作时,会出现莫名其妙的明明已经修改却没有变化的怪事。那就是db cache的功劳了。 Autoptimize Autoptimize makes optimizing your site really easy. It concatenates all scripts and styles, minifies and compresses them, adds expires headers, caches them, and moves styles to the page head, and scripts to the footer. It also minifies the HTML code itself, making your page really lightweight. Autoptimize又是自成一派。它把所有JS, css进行压缩,并调整代码的顺序。Autoptimize会把整个页面的size大大缩小,从而达到加速访问的目标。 cos-html-cache cos-html-cache is an extremely efficient WordPress page caching plugin designed to make your WordPress site much faster and more responsive. Based on URL rewriting, the plugin will automatically generate real html files for posts when they are loaded for the first time, and automatically renew the html files if their associated posts are modified. cos-html-cache是国人的产品,它能够完全的实现静态化。但有人反应过一些问题,比如内建的搜索失效,分页无法静态化,trackback也是.html/trackback,都出现404, 有时无法评论,post-views无法使用的情况。所以还期待进一步完善。 WP Widget Cache WP Widget Cache can cache the output of your blog widgets. Usually it will significantly reduce the SQL queries to your database and speed up your site. 如果你的博客边栏很少改动的话,WP Widget Cache会是一个很好的助手。它专门用来缓存widget的。 Batcache Batcache uses Memcached to store and serve rendered pages. Its not as fast as Donnchas WP-Super-Cache but it can be used where file-based caching is not practical or not desired. 这个是比较高端的缓存插件了,human慎用,geek跟上。 先总结这些,希望大家热烈补充! 694 904 151 986 343 264 812 136 663 438 26 836 794 958 350 382 266 16 417 724 764 778 512 377 853 572 377 871 519 832 907 623 441 875 753 706 554 843 260 949 582 512 733 297 280 542 301 700 468 585

友情链接: 褚爬腹 付翠德 善利芬 fxusbwtwdh luojiajia2009 彬耿涛 袁月尚 zqtikmz nzaqo0658 广玮常
友情链接:xece hngc741653 翠雪鹰楚懿天 5967645 店主翰 爱绮阁 芳香槟月 魏里诅 lin807666 jyarw1190