Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/YOURLS/cache-stats-pages

YOURLS plugin: serve stat pages (http://sho.rt/blah+) from cache
https://github.com/YOURLS/cache-stats-pages

yourls yourls-plugin

Last synced: 23 days ago
JSON representation

YOURLS plugin: serve stat pages (http://sho.rt/blah+) from cache

Lists

README

        

# Plugin for YOURLS : Cache Stats pages [![Listed in Awesome YOURLS!](https://img.shields.io/badge/Awesome-YOURLS-C5A3BE)](https://github.com/YOURLS/awesome-yourls/)

## 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

## Disclaimer

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)