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

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

Closed
bminer opened this issue May 8, 2012 · 1 comment
Closed

Comments

@bminer
Copy link
Owner

bminer commented May 8, 2012

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 added a commit that referenced this issue May 9, 2012
Updated runtime to work nicely with middleware (solves issue #2)
Remove try, catch block from runtime
Added .gitignore to ignore node_modules
@bminer
Copy link
Owner Author

bminer commented May 9, 2012

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

@bminer bminer closed this as completed May 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant