title: Precompile Hogan.js Templating Server Side ASP.NET MVC
body: <p>I'm taking a look at Hogan.js by Twitter. </p>
  
  <p><a href="http://twitter.github.com/hogan.js/" rel="nofollow">http://twitter.github.com/hogan.js/</a></p>
  
  <p>They talk about being able to precompile templates via the server which I understand can be a perf gain.</p>
  
  <p>Currently every time I render the template I perform the following after an AJAX hit to the server to get data:</p>
  
  <pre><code>     var template = Hogan.compile($('#seasonsTmpl').html());
       $('#main').html(template.render(data));
  </code></pre>
  
  <p>Given the following template:</p>
  
  <pre><code>&lt;script type="text/html" id="seasonsTmpl"&gt;
  
       &lt;ul&gt;
      {{#season}}
          &lt;li&gt;{{.}}&lt;/li&gt;
      {{/season}}
      &lt;/ul&gt;
  
  &lt;/script&gt;
  </code></pre>
  
  <p>What can I do to "precompile" server side using an ASP.MVC backend? Is this not possible as it seems to be centered around using <code>Node.js</code>?</p>