Changes between Version 96 and Version 97 of ConfigurationGuidelines


Ignore:
Timestamp:
05/30/11 14:07:24 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConfigurationGuidelines

    v96 v97  
    213213
    214214== 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{{{
     217deployment_settings.base.migrate = False
     218deployment_settings.base.prepopulate = False
     219}}}
     220 * Use a CDN for public sites {{{models/000_config.py}}}:
     221{{{
     222deployment_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}}}
    216226 * Bytecode compile the application:
    217227{{{
     
    219229python web2py.py -S eden -M -R applications/eden/static/scripts/tools/compile.py
    220230}}}
    221  * Disable DB prepopulation in {{{000_config.py}}}: deployment_settings.base.prepopulate = False
    222231 * Use MySQL or PostgreSQL instead of SQLite
    223232  * 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}}}
    225233
    226234 * Use [http://developer.yahoo.com/yslow/ YSlow] Firefox plugin to analyse the site