Skip to content

0.1.7

Latest

Choose a tag to compare

@hugithordarson hugithordarson released this 17 Nov 09:21
· 2 commits to master since this release

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 ETag and 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 declare ng-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
  • .ico resources are served as image/x-icon

Full Changelog: v0.1.6...v0.1.7