Interface StaticResourceCacheConfig

All Known Implementing Classes:
StaticResourceCacheConfigDefault

public interface StaticResourceCacheConfig
Cache configurations available for a static resource.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The number of seconds to use when sending caching headers.
    The number of seconds to use to cache by CDNs.
    boolean
    Should private be used when sending caching headers? more info...
  • Method Details

    • getCacheSeconds

      int getCacheSeconds()
      The number of seconds to use when sending caching headers.

      If <=0 no caching headers will be sent.

    • isCachePrivate

      boolean isCachePrivate()
      Should private be used when sending caching headers? more info...
    • getCacheSecondsCdn

      Integer getCacheSecondsCdn()
      The number of seconds to use to cache by CDNs.

      If null, this option would be set.