Skip to content

Compile only prototype in dev mode #111

Open
@raderio

Description

Hi.
Compilation time of Scala is slow, so it is for twirl.
It could be improved if in dev mode if it will be parsed/generated only function prototype(name and parameters) and imports, the body of function will be compiled only for specific page in runtime when is loaded, so it will compile only a few templates and it will be fast and in controller the call of template will be safe.
It could be added as an option.

In prod mode should be the same as it is now.

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions