I am in Lumen, inside the controller, and I would like to cache the result of the calculation in a simple and simple way, without using databases or external services, so I was looking to save the cache in the file system. In the Laravel documentation , the file driver is specified:
By default, Laravel is configured to use a file cache driver that stores serialized, cached objects on the file system.
And I see it, configured as the default cache store, inside config/cache.php .
In the Lumen Documentation, I don't see anything about the file driver, and I don't see anything like the cache.php file inside the Lumen installation.
So my question is, can I use the file cache driver in Lumen (by setting CACHE_DRIVER=file ) or if it is discouraged, not supported, not implemented, or something else?
source share