How do I employ cache busting in a template? #590
Unanswered
ugyballoons
asked this question in
Q&A
Replies: 1 comment 8 replies
-
I think your question is in the wrong repo, but if you can't access I think each sub app will need to be setup separately from the root app (maybe that should be mentioned in the docs). |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm enjoying working with aiohttp and jinja2.
It's not clear to me how to employ cache busting. Please could someone help?
In the setup I have:
and in the template I have:
<link rel="stylesheet" href="{{ url_for('static', filename='stylesheets/main.css') }}">
I feel that I shouldn't be passing
url_for
in the globals but if I don't, then jinja complains that there's no such function. Where am I going wrong?Beta Was this translation helpful? Give feedback.
All reactions