public.javadoc.org.spincast.core.routing.StaticResourceCacheConfig.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
StaticResourceCacheConfig (org.spincast:spincast-framework 1.0.0 API)
org.spincast.core.routing
Interface StaticResourceCacheConfig
-
- All Known Implementing Classes:
- StaticResourceCacheConfigDefault
public interface StaticResourceCacheConfig
Cache configurations available for a static resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
int
getCacheSeconds()
The number of seconds to use when sending
caching headers.
Integer
getCacheSecondsCdn()
The number of seconds to use to cache by CDNs.
boolean
isCachePrivate()
Should private
be used when sending
caching headers?
more info...
-
-
Method Detail
-
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.
Copyright © 2019. All rights reserved.