hi,

i've several question about static files in web2py
1. what is the response.optimize_css & js used for?
response.optimize_css = 'concat,minify,inline'
response.optimize_js = 'concat,minify,inline'

i've defined it in models/db.py but when check with developer tools, the 
*.css file loaded is not minified (still have line feed / carriage return)

2. what is the zip_static_files.py used for?
i've ziped the static files which is affect the *.css & *.js when check 
with developer tools the file loaded is the original (unizpped files), why? 
is it normal?

3. the static file outside of web2py scaffolding apps is not cached on 
pythonanywhere, while in my computer the same web2py app which is used 
basic web2py application (rocket) is cached

4. what is the esponse.static_version used for?

thanks and best regards,
stifan

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to