You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2018. It is now read-only.
At present, Jade drives the key parts of index.html when a user first hits the app on 0.0.0.0:3000/ - this renders an outline HTML page, and on the client side dust then renders what's left.
There are three routes for this task, listed in order of preference:
Have the very first app have Dust in Express.js (nodecode) render the very first page using res.render(), returning the full HTML required for the page load. This means first the very first time a user loads the page, no client-side templating takes place.
Have Express.js serve up the contents of layout.jade as it exists at the moment, ported to dust & using the dust engine.
Have Express.js serve up static HTML with no templating for the boilerplate instead of jade
The text was updated successfully, but these errors were encountered:
Lot of work done on this today in the 'jaded' branch - had 2) working within an hour, but 3 hours later stil didn't get to the stage described in 1) - proving quite difficult, but considering the benefits in initial page load time probably worthwhile
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
At present, Jade drives the key parts of index.html when a user first hits the app on 0.0.0.0:3000/ - this renders an outline HTML page, and on the client side dust then renders what's left.
There are three routes for this task, listed in order of preference:
The text was updated successfully, but these errors were encountered: