Changes between Version 96 and Version 97 of ConfigurationGuidelines
- Timestamp:
- 05/30/11 14:07:24 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ConfigurationGuidelines
v96 v97 213 213 214 214 == Performance Optimisation == 215 * Disable DB migrations in {{{000_config.py}}}: deployment_settings.base.migrate = False 215 * Disable DB migrations in {{{models/000_config.py}}}: 216 {{{ 217 deployment_settings.base.migrate = False 218 deployment_settings.base.prepopulate = False 219 }}} 220 * Use a CDN for public sites {{{models/000_config.py}}}: 221 {{{ 222 deployment_settings.base.cdn = True 223 }}} 224 * Remove comments & unused code from {{{views/layout.html}}} & {{{views/s3_include_min.html}}} 225 * Set modules to load from a hardcoded app name instead of substituting request.application in {{{models/00_db.py}}} 216 226 * Bytecode compile the application: 217 227 {{{ … … 219 229 python web2py.py -S eden -M -R applications/eden/static/scripts/tools/compile.py 220 230 }}} 221 * Disable DB prepopulation in {{{000_config.py}}}: deployment_settings.base.prepopulate = False222 231 * Use MySQL or PostgreSQL instead of SQLite 223 232 * Create Indexes on commonly-accessed tables 224 * set modules to load from a hardcoded app name instead of substituting request.application in {{{models/00_db.py}}}225 233 226 234 * Use [http://developer.yahoo.com/yslow/ YSlow] Firefox plugin to analyse the site