This is an example which uses composer
to install the library and shows
how Joystick PHP client may flexibly you can configure your own cache provider (PSR-16)
- Change working directory to this folder
composer install
CONTENT_IDS=content-id1,content-id2 JOYSTICK_API_KEY=<api-key> php ./main.php
- It will call
getContents
multiple times with response time - Run command from 3rd paragraph again to see that for the next 10 seconds response time will tend to zero.