You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
Currently Blade templates require a path on the local filesystem for caching. See: laravel/framework#14291
It would great if Blade templates could be compiled in-memory from any string, without ever touching the filesystem. Furthermore it would be nice if a driver/store for Blade template could be configured, similar to the session.driver configuration. That way Blade caches could live in Redis, APC, Memcache, a SQL database, the local file system or just in-memory.
I don't think that's a great idea. Blade templates are not only cached, they are written to a file to be executable. The alternative would be eval and, I suppose, horrible performance.
Currently Blade templates require a path on the local filesystem for caching. See: laravel/framework#14291
It would great if Blade templates could be compiled in-memory from any string, without ever touching the filesystem. Furthermore it would be nice if a driver/store for Blade template could be configured, similar to the
session.driver
configuration. That way Blade caches could live in Redis, APC, Memcache, a SQL database, the local file system or just in-memory.I'd be happy to provide a PR.
The text was updated successfully, but these errors were encountered: