# GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings" data-uid="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings" class="text-break">CacheDataSettings Class
</h1>
  <div class="markdown level0 summary"><p>Repesents the settings using to cache the data.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">CacheDataSettings</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Web.Viewer.html">GrapeCity.ActiveReports.Web.Viewer</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Web.Viewer.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CacheDataSettings</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings__ctor" data-uid="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.-ctor.html#GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings__ctor">CacheDataSettings()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings_CacheDataPath" data-uid="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.CacheDataPath">
          <a class="xref" href="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.CacheDataPath.html#GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings_CacheDataPath">CacheDataPath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a path to store temporary files to a disk to reduce memory consumption.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings_UseCompression" data-uid="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.UseCompression">
          <a class="xref" href="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.UseCompression.html#GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings_UseCompression">UseCompression</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to compress temporary data before the storing to memory/disk.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings_UseDisk_System_IO_DirectoryInfo_System_Boolean_" data-uid="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.UseDisk(System.IO.DirectoryInfo,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.UseDisk.html#GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings_UseDisk_System_IO_DirectoryInfo_System_Boolean_">UseDisk(DirectoryInfo, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the settings for storage the cache data on disk.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings_UseMemory_System_Boolean_" data-uid="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.UseMemory(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Web.Viewer.CacheDataSettings.UseMemory.html#GrapeCity_ActiveReports_Web_Viewer_CacheDataSettings_UseMemory_System_Boolean_">UseMemory(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the settings for storage the cache data in memory.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
