Ed Finkler (Funkatron) asked me, in response to my recent article introducing Statamic, whether you could change Statamic's settings to serve from something other than the local disk.
I checked with Jason & Jack at Statamic, and they told me three things:
- Statamic already has the ability (if configured a certain way) to compile all the files down to HTML. It's possible (I don't know how yet, but I know it is) to configure Nginx to serve those files directly.
- Statamic v1 has a static site generator built-in, and v2 will get one soon.
- Since Statamic's
.env
file effects the behavior of its Laravel core, you can change the cache driver that your Statamic app is using just like you would in any Laravel app. Just add aCACHE_DRIVER
key in.env
file and set it to any of the options:'file'
, the default;'database'
;'memcached'
;'redis'
;