All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.apollographql.apollo.cache.ApolloCacheHeaders.kt Maven / Gradle / Ivy

package com.apollographql.apollo.cache

import com.apollographql.apollo.cache.normalized.NormalizedCache

/**
 * A collection of cache headers that Apollo's implementations of [NormalizedCache] respect.
 */
object ApolloCacheHeaders {
  /**
   * Records from this request should not be stored in the [NormalizedCache].
   */
  const val DO_NOT_STORE = "do-not-store"

  /**
   * Records from this request should be evicted after being read.
   */
  const val EVICT_AFTER_READ = "evict-after-read"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy