YOURLS plugin: serve stat pages (http://sho.rt/blah+) from cache
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
cache first commit Nov 15, 2012

Plugin for YOURLS 1.5.1+: Cache Stats pages

What for

Rudimentary caching system so stats page (eg http://sho.rt/blah+) are generated once every XX hours and served from cache otherwise.

How to

  • In /user/plugins, create a new folder named cache-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 (for instance -- check the source) but there is a lot of room for improvements (garbage collection for example)