-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing documentation for creating twig cache dir #13226
Comments
Regarding "blocking access from browser to the cache", wouldn't it be better if we provided a .htaccess that does that? |
There are also other web servers then Apache :-). Also Apache is often configured not to process .htaccess files, that's why we have removed them some time ago... |
Yes, I am aware. It's just Apache has quite a big market share. Anyway, since the other ones were removed I see no point in introducing them again. |
Problem was that our documentation has relied on working .htaccess files. Maybe it would make sense to ship them, but still cover this topic in the documentation to cover users where .htaccess is not working. On the other side enabling .htaccess is generally not recommended by Apache docs.... |
When looking at this, I've realized that it might be better to just use existing TempDir for twig cache and we have already quite good docs on that... |
As we started to use twig templates, the cache dir needs to be properly set up. This is not really covered by the documentation it should at least cover:
The text was updated successfully, but these errors were encountered: