Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Build express middleware to deliver compiled client-side templates #3

Closed
bminer opened this Issue · 1 comment

1 participant

@bminer
Owner

Build express middleware to deliver compiled client-side templates. For example, you can set a mount point (i.e. "/views") and any GET request to "/views/view123.blade" will cause the Express middleware to compile the blade template and deliver the JavaScript code to the browser. No client-side caching of templates would be required; this would be handled automatically by the server (i.e. using 304 Not Modified weak caching or Expires headers and strong caching).

@bminer bminer referenced this issue from a commit
@bminer Added Blade middleware for client-side templates (solves issue #3)
Updated runtime to work nicely with middleware (solves issue #2)
Remove try, catch block from runtime
Added .gitignore to ignore node_modules
050233a
@bminer
Owner

Caching does not work 100% yet, but I'm going to close this issue for now.

@bminer bminer closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.