Source/NFX.Wave/Response.cs
/// <summary>
/// Sets headers so all downstream, layers (browsers, proxies) do not cache response.
/// If Force==true(default) then overrides existing headers with no cache.
/// Returns true when headers were set
/// </summary>
Sets headers so all downstream, layers (browsers, proxies) do not cache response.
If Force==true(default) then overrides existing headers with no cache.
Returns true when headers were set
Sets headers so all downstream layers ( browsers proxies ) do not cache response . If Force == true ( default ) then overrides existing headers with no cache . Returns true when headers were set
public bool SetNoCacheHeaders(bool force = true)
      {
        return SetCacheControlHeaders(CacheControl.NoCache, force);
      }
public bool SetNoCacheHeaders ( bool force = true ) { return SetCacheControlHeaders ( CacheControl . NoCache , force ) ; }
Sets headers so all downstream, layers (browsers, proxies) do not cache response.
Sets headers so all downstream layers ( browsers proxies ) do not cache response .
//if (!force && m_NetResponse.Headers[HttpResponseHeader.CacheControl].IsNotNullOrWhiteSpace()) //  return false; //m_NetResponse.Headers[HttpResponseHeader.CacheControl] = "no-cache, no-store, must-revalidate"; //m_NetResponse.Headers[HttpResponseHeader.Pragma] = "no-cache"; //m_NetResponse.Headers[HttpResponseHeader.Expires] = "0"; //m_NetResponse.Headers[HttpResponseHeader.Vary] = "*"; //return true;
force
bool