At startup time Click eagerly loads templates (and associated page classes) found under the web folder.
The proposed change is to switch to a lazy loading scheme where pages and templates are only loaded when requested. Scenarios needed to be catered for include:
- HTTP Request
There is also an outstanding bug which depends on this proposal: https://issues.apache.org/jira/browse/CLK-639