WP-Cache:an extremely efficient WordPress page caching system

WP-Cache is an extremely efficient WordPress page caching system to make you site much faster and responsive. It works by caching Worpress pages and storing them in a static file for serving future requests directly from the file rather than loading and compiling the whole PHP code and the building the page from the database. WP-Cache allows to serve hundred of times more pages per second, and to reduce the response time from several tenths of seconds to less than a millisecond. Read the rest of this entry »

usage of coolcode

使用的语法是:

 

<coolcode>
代码
</coolcode>

如果要加亮具体的语言,可以用 lang 属性来指定:

 

<coolcode lang=”程序设计语言”>
代码
</coolcode>

如果不需要行号,可以使用 linenum 属性来指定:

 

<coolcode lang=”程序设计语言” linenum=”off”>
代码
</coolcode>

如果希望可以直接以文件下载代码,可以使用 download 属性来指定:

<coolcode lang=”程序设计语言” download=”文件名.扩展名”>
代码
</coolcode>

这三个属性可以组合使用,互不影响。

目前支持的程序设计语言有:

  • actionscript
  • cpp
  • css
  • diff
  • dtd
  • html
  • java
  • javascript
  • mysql
  • perl
  • php
  • python
  • ruby
  • sql
  • xml