Repository navigation
Resource caching, and elements that declare the resources they need.
- Resource URLs carry a stamp of their content (
/nr/app/main@53d7496763.css) in production, and stamped resources are cached for good (#99) - Public resources carry their content stamp as an
ETagand revalidate, instead of being cached for an hour (#100) - Elements can declare the scripts and stylesheets they need by overriding
NGElement.resourceDependencies(). When a full page has rendered, the tags it doesn't already include are added to its<head>. The Ajax elements declareng-js.js, so pages no longer include it by hand. Partial page responses don't carry dependencies yet (#108) - Dynamic elements pass their constructor arguments on to
NGDynamicElement, whose constructors accept non-null values - Asking for a directory as a resource answers 404, not 500
.icoresources are served asimage/x-icon
Full Changelog: v0.1.6...v0.1.7