Hi,

This nice one-liner is adding a version number to css and js paths:

response.static_version = true

When including files like this:

{{
    response.files.append(URL('static','css/normalize.css'))
}}

With the compression option to true all the files in the sample above will 
be combined, same with JS files. In some situations we want files to add 
.js files to the bottom of the page without adding them to the compressed 
version so we add them like this:

<script src="{{=URL('static','js/example.js')}}"></script>

And let the be placed at the bottom. That works great, but is there also an 
option to add the version number to path? That would be even better :)

I have the idea that you've created something for it, but I can't find it...

Hope you can help :)

Tnx!

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to