Avoid regenerating tables:
db = DAL('sqlite://storage.sqlite', migrate=runonce)
Create indexes:
db.executesql('CREATE INDEX IF NOT EXISTS {table}_index ON {table} (id);'.format(table=table))
Compile byte code in admin
Serve static files direct from server
Move as much logic as possible from models into controllers and modules
Disable session if possible
No comments:
Post a Comment