title: Creating an Orchard CMS widget/module with caching enabled
body: <p>I have been searching high and low for this, but can't seem to find the right answer.</p>
  
  <p>I have been writing a module in Orchard together with some widgets that I use for it, and now I want to enable caching of the database queries in my classes.</p>
  
  <p>Is there any documentation on how to add caching to my modules and widgets?</p>
  
  <p>I've tried to just enable the Output cache and the syscache, but it seems that it only works for the modules that came with Orchard (I checked with SQL Server Profiler, and my queries are still being sent all the time to the database, while the normal Orchard queries for content and such, are not, and seems to be cached).</p>