getkirby-v2 / plugins

Kirby plugins from getkirby.com. Extensions, fields and widgets
230 stars 5 forks source link

Kirby Cache REST #566

Open jenstornell opened 6 years ago

jenstornell commented 6 years ago

Github: https://github.com/jenstornell/kirby-cache-rest

Cache (file cache) operations made developer friendly.

/flush

{
    "roots": [
        {
            "count": 23,
            "root": "path/to/cache",
            "success": true
        },
        {
            "count": 12,
            "root": "path/to/thumbs",
            "success": false
        }
    ],
    "success": false,
    "flushed_files": 21
}