Changes between Version 19 and Version 20 of DeveloperGuidelines/Optimisation


Ignore:
Timestamp:
04/20/10 12:18:22 (15 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Optimisation

    v19 v20  
    1717 3. Everything that is static should be in the "static" folder - that applies especially to static !JavaScript. If you put such in views, it gets processed by the view compiler and passed as dynamic content, which is totally unnecessary. Loading from static also gives the advantage that it gets cached by the webserver _and_ the client.
    1818
    19  4. Avoid _implicit_ redirects! (that is, without user interaction, e.g. as in open_module. There may be redirects that cannot be
    20 avoided.).[[BR]]A redirect simply doubles the response time (executes a new request and thus loads it all again).
     19 4. Avoid _implicit_ redirects! (that is, without user interaction, e.g. as in open_module. There may be redirects that cannot be avoided.).[[BR]]A redirect simply doubles the response time (executes a new request and thus loads it all again).
    2120
    2221 5. Be careful with Ajax - this might work nicely in local environments, but in real-world deployments this has shown to be unreliable and slow.