title: MD5 generation overheat - Web API
body: <p>To make it short and firm:</p>
  
  <p>I have an api which returns a md5 of a specific file. The files are about 50 - 100 MB large. Now my question is:</p>
  
  <p>What would need less resources/is stylistic better:</p>
  
  <ol>
  <li>Generating the md5 of the file for every GET</li>
  <li>Generating the md5 the first time a GET asks for it and the watch the file with a <code>FileSystemWatcher</code> for changes and refresh the md5 if the file changes</li>
  </ol>
  
  <p>It was told me that generating a md5 many times <em>could</em> produce a overheat. </p>