Creating a Javascript Templating Engine
colinsidoti.com
colinsidoti.com
Includes are kinda rough in javascript because they require a separate http request, and would get out of hand if they're used as frequently as they are in server side templating. I need to implement some type of front-end caching, but need a way to distinguish which templates are in memory and which require a request. Thoughts are appreciated.