We also use caching A LOT!
There is a framework level config cache for all the files in `config/*.php` but editing the `.env` file requires restarting php/nginx due to opcache
So I made a redis/db config cache that allows you to edit settings in the admin dashboard, with immediate effect
We cache post objects by ids in our own schema and transform them to Masto or Pixelfed format depending on the request, allowing both MastoAPI support and our many innovative features
Will blog about this ๐
@dansup FYI itโs good practice to load the values from the `.env` file into the OS-level environment variables instead of reading from the file every time.
https://gist.github.com/mihow/9c7f559807069a03e302605691f85572