- Last updated:2007.05.30 00:46(UTC)
- Last updated:2007.05.31 01:00 (UTC)
- Last updated:2007.06.02 03:00 (UTC)
- Last updated:2007.06.03 03:00 (UTC)
Description:generate real html file for a post when it was edited, modified, deleted or commented .Note:just generate HTML file for posts and homepage, not for other pages.
requirements: urlrewrite is required
dependency :don’t need other plugins
If you are facing such problems listed bellows of your blog, you may need this plug-in:
- too many visitors;
- high load of you web server or database server;
- just want your website more faster to make smooth for visiting;
- too many plugins, which slowed down your blog;
You don’t need to install this plugin if:
- You have installed URL redirect plugin for SEO, such as permalink redirect, which will make this plugin down;
- You like testing plugins on you site, real html will not display your result as soon as expected;
- you want to real-time data displayed on your site, which generated by php rather than JS;
- …
Installation:
- Change your default permalink to make your url looks like a real html file path, which plugin can create htm cache from;
- permalink such as /html/y%year%/%post_id%.html or /html/y%year%/%post_id%_%postname%.html is strongly recommend;
- download the plugin;
- active the plugin from your admin panel, and backup your comments.php from your current template folder, and then repalce it with the new one(comments.php) you just downloaded;
- go into admin panel, through option->coshtmlcache, build HTML cache file from your prevoius posts;
- comments display style can be changed from the file style.css;
- done
change log:
- 2007.05.28 version1.0 released;
- cookie read bug fixed;
- add another version of this cache plugin, which is withot ajax-comment built in;
- change js to make author commentting easiser
- page cache enabled
Download link
- cos-html-cache.zip
- cos-html-cache(no-ajax-build-in).zip (do NOT forget to rebuild your cache)
- version1.0 cos-html-cache101.zip
- version1.1 cos-html-cache-v11.zip
If you have some advice, please leave your comments here

怎么总是要替换comments.php呢?有没有干净一点的版本,no js, no css, only the cache function
why not use this http://www.storyday.com/html/y2007/908_html-cache-creator-12.html
不行的, 我试过了, 我之前用的就是html-cache-creator1.2, 留言不会更新, 太头疼了, 并且现在我也不想换掉K2的comments.php, 因为K2功能太强大了.
this page for english users only,留言肯定会更新的,你重新去看看我那个1.2
的页面[quote]不行的, 我试过了, 我之前用的就是html-cache-creator1.2, 留言不会更新, 太头疼了, 并且现在我也不想换掉K2的comments.php, 因为K2功能太强大了.
[/quote]
[...] 最近两天,Cosbeta正式发布了他酝酿已久的大作——Cos HTML Cache,在一众人的试用之下,我才知道根本不是那么回事,这个插件支持任何模板。 因为会生成真实的文件,我需要改变一下目前的永久链接形式才可以启用该插件,否则根目录早晚乱成一团。然而为了一个插件丢掉大部分的访客显然也是个不明智的举动,好在Cosbeta推荐给我另一款plugin,可以完美解决通过搜索引擎和其他链接进入本Blog的转向问题。这个插件叫做Permalinks Migration Plugin,采用301 Redirect形式安全地将访客和搜索引擎转向到当前的链接。既然如此,一不做二不休,我的Blog就这么”半”静态了。 [...]
[...] 最近两天,Cosbeta正式发布了他酝酿已久的大作——Cos HTML Cache,在一众人的试用之下,我才知道根本不是那么回事,这个插件支持任何模板。 因为会生成真实的文件,我需要改变一下目前的永久链接形式才可以启用该插件,否则根目录早晚乱成一团。然而为了一个插件丢掉大部分的访客显然也是个不明智的举动,好在Cosbeta推荐给我另一款plugin,可以完美解决通过搜索引擎和其他链接进入本Blog的转向问题。这个插件叫做Permalinks Migration Plugin,采用301 Redirect形式安全地将访客和搜索引擎转向到当前的链接。既然如此,一不做二不休,我的Blog就这么”半”静态了。 [...]
[...] Blog 找到文章“”介绍了个好东西—— Cos HTML Cache ,据说配合 Permalinks Migration [...]
[...] Blog 找到文章“”介绍了个好东西—— Cos HTML Cache ,据说配合 Permalinks Migration [...]
[...] 还有另外一看wordpress静态化插件也不错哦,Cos HTML Cache,具体说明请看: [...]