title: Python/Tornado - compressing static files
body: <p>For django projects there is an awesome tool called <a href="http://django-compressor.readthedocs.org/en/latest/" rel="nofollow noreferrer">django-compressor</a>. It combines all js or css files under <code>compress</code> template tag into single cached file, like this:</p>
  
  <pre><code>{% load compress %}
  
  {% compress css %}
  &lt;link rel="stylesheet" href="/static/css/one.css" type="text/css" charset="utf-8"&gt;
  &lt;style type="text/css"&gt;p { border:5px solid green;}&lt;/style&gt;
  &lt;link rel="stylesheet" href="/static/css/two.css" type="text/css" charset="utf-8"&gt;
  {% endcompress %}
  </code></pre>
  
  <p>I'm wondering if there is anything like this for tornado projects? Or maybe any workaround/alternative solution?</p>
  
  <p>I've found <a href="https://github.com/jgallen23/tornado-compress" rel="nofollow noreferrer">this</a> project on github, but it's no longer maintained. </p>