In PR #210 I have question about how you establish the cache_dir beyond provisioning it ahead of time during testing, or manually via the prime_templates call in mig/lib/templates/__main__.
That is, if the directory is removed or not established ahead of time, how does the TemplateStore ensure that the directory is present and available when the service is running.
Maybe during the initial construction before it is added to the configuration context should it ensure that it is created. So that we don't hit the disk on every render
In PR #210 I have question about how you establish the
cache_dirbeyond provisioning it ahead of time during testing, or manually via theprime_templatescall inmig/lib/templates/__main__.That is, if the directory is removed or not established ahead of time, how does the TemplateStore ensure that the directory is present and available when the service is running.
Maybe during the initial construction before it is added to the configuration context should it ensure that it is created. So that we don't hit the disk on every render