Where are you doing that append? Are you using the standard layout.html? 
For response.files to work, you need to include web2py_ajax.html in the 
layout head, after all additions to response.files.

Anthony

On Thursday, August 30, 2012 12:45:26 PM UTC-4, Yarin wrote:
>
> I'm trying to apply a version number to my CSS files as a way to force 
> browsers to load the latest version, but the following examples never get 
> outputted even though they create valid URLs:
>
> response.files.append(URL('static','css/main.css', vars=dict(v='1208301'
> )))
> or
> response.files.append(URL('static','css/main.css?v=1208301'))
>
> Why won't these work? Is there a better web2py-way for forcing browser 
> cached files to reload?
>

-- 



Reply via email to