Skip to content
Simple api response cache addon for Cockpit CMS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Controller
.gitignore
README.md
api.php
bootstrap.php

README.md

Add files to addons/SimpleResponseCache.

Configuration

Define cache duration (default is 60 sec) in config/config.yaml:

responseCache:
    duration: 60

Usage

append rspc=1 to your api calls you want to be cached:

/api/collection/get/{name}?token=*apitoken*&rspc=1

💐 SPONSORED BY

ginetta
We create websites and apps that click with users.

You can’t perform that action at this time.