Skip to content
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

Caching not being re-cached properly #44

Closed
mastergberry opened this issue Nov 6, 2012 · 0 comments
Closed

Caching not being re-cached properly #44

mastergberry opened this issue Nov 6, 2012 · 0 comments

Comments

@mastergberry
Copy link

When switching the HTTP_HOST of a website by changing the port or the URL on which the application is being served from the templates seem to be incorrectly being cached and will not update when the application is run again with the new HTTP_HOST. Temporary solution is to enable the following option:

jinja2.bytecode_caching = false

Otherwise I have had no luck. On the Pocoo irc i was linked to this in addition, it may serve to help, but i didn't end up using it. http://stackoverflow.com/questions/8608743/whats-the-best-way-to-disable-jinja2-template-caching-in-bottle-py/8609414#8609414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants