title: In-memory caching in Azure function
body: <p>There is a need to cache objects to improve the perf of my Azure function. I tried .NET ObjectCache (System.Runtime.Caching) and it worked well in my testing (tested with upto 10min cache retention period). </p>
  
  <p>In order to take this solution forward, I have few quick questions:</p>
  
  <ol>
  <li><p>What is the recycling policy of Azure function. Is there any default? Can it be configured?</p></li>
  <li><p>What is the implication in the cost?</p></li>
  <li><p>Is my approach right or are there any better solutions?</p></li>
  </ol>
  
  <p>Any questions that you may know, please help.</p>
  
  <p>Thank you.</p>