Rudimentary caching system so stats page (eg http://sho.rt/blah+) are generated once every XX hours and served from cache otherwise.
- In
/user/plugins, create a new folder namedcache-stats-pages - Drop these files in that directory
- Go to the Plugins administration page and activate the plugin
- Have fun
This is a rudimentary caching system.
It is used on http://yourls.org/ (for instance http://yourls.org/cookie+ -- check the source) but there is a lot of room for improvements (garbage collection for example)