I'm deploying a large web-app to the cloud and would like to switch
between versions of static assets using only setup.py. I'm using a CDN
and far-future expires headers, so I need to change the path each time
I deploy (and, even, better, at will without have to load up new
files). My current plan is to bake the version number of the project
into each static path URL and change the URL to bust the user's cache.

1. Does anyone know how to access the version of the project (right
now only adjusted in setup.py) in mako files and/or have a good low-
cpu strategy for changing the URL each time static assets are updated?
2. Any advice on how to make .mako perform well with variables
updating the path (sometimes a group of files, sometimes paths to the
concatenated files, sometimes to just one or two large concatenated
files).

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to