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
- Document filesystem caching for Chameleon page templates #461
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for writing this documentation. I have a few comments, see below.
docs/zope2book/AdvZPT.rst
Outdated
and add a suitable filesystem path, for example:: | ||
|
||
<environment> | ||
CHAMELEON_CACHE $INSTANCE/var |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, this will pollute /var
with many, maybe hundreds of files. I'd prefer to suggest to use a separate directory. I know chameleon
requires this directory to exist beforehand, maybe this could be documented, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@icemac I have changed the path to $INSTANCE/var/cache
and added a note about creating that folder before starting Zope to the Zope Book chapter. Let me know what you think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
fixes #291