I do something slightly different.
I have a cache attribute available on every request. On production it's
the build#, on dev it's time.now()
then I just write out the attribute as a querystring :
<img src="/path/to?{request.app_meta.release}"/>
On Wednesday, September 4, 2013 10:53:32 AM UTC-4, Chris McDonough wrote:
>
> On 09/04/2013 05:02 AM, luthur wrote:
> > something like Tornado's static_url, the assets' url would be
> xxx.xxx?v=123
>
> https://github.com/maisano/pyramid_cachebust
>
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.