Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speeding up Jade in production #2

Open
plievone opened this issue Jun 15, 2012 · 1 comment
Open

Speeding up Jade in production #2

plievone opened this issue Jun 15, 2012 · 1 comment
Assignees

Comments

@plievone
Copy link

There are a few options you can set for Jade template compilation when in socket stream production mode to speed Jade up:

  • {compileDebug: false} -- this strips debug instrumentation (line numbers) from compiled templates.
  • {self: true} -- optionally, this moves the locals under a self object, thus avoiding the slow with block in compiled templates.
@paulbjensen
Copy link

Hi @plievone,

Thanks for the tips, did you apply these in a fork anywhere? If so, I'd be happy to get them included in this module.

@ghost ghost assigned paulbjensen Nov 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants