Changes between Version 18 and Version 19 of DeveloperGuidelines/Optimisation
- Timestamp:
- 04/20/10 12:18:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Optimisation
v18 v19 17 17 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. 18 18 19 4. Avoid _implicit_ redirects! (that is, without user 20 interaction, e.g. as in open_module. There may be redirects that cannot be 19 4. Avoid _implicit_ redirects! (that is, without user interaction, e.g. as in open_module. There may be redirects that cannot be 21 20 avoided.).[[BR]]A redirect simply doubles the response time (executes a new request and thus loads it all again). 22 21