Caching
Pixwel uses Redis to cache various things. This is supplied by the Cacheable behaviour trait which uses Li3’s Redis cache adapter. All of the model classes include this trait. At the time of writing, the main things we cache include:$permissionscollection - to save an expensive DB lookup through the somewhat complex permissions list, Permissions model caches.
Manipulating the cache
SSH in to one of the production nodes (Redis is locked down to only talk to the VPC) then:$links will appear empty or not include watermark. You can clear your local redis with:
(you don’t have to use telnet, this is just an example,See also:DELinredis-clishould work fine)
- Pixwel API - troubleshooting - API troubleshooting has some notes on Redis.
- Redis command reference
Back to docs index | Next page in recommended reading order >>