public.javadoc.org.spincast.plugins.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.
The newest version!
StaticResourceCacheConfig (org.spincast:spincast-framework 0.9.28 API)
org.spincast.plugins.routing
Class StaticResourceCacheConfig
- java.lang.Object
-
- org.spincast.plugins.routing.StaticResourceCacheConfig
-
- All Implemented Interfaces:
- IStaticResourceCacheConfig
public class StaticResourceCacheConfig
extends Object
implements IStaticResourceCacheConfig
-
-
Constructor Summary
Constructors
Constructor and Description
StaticResourceCacheConfig(int cacheSeconds,
boolean isCachePrivate,
Integer cacheSecondsCdn)
-
Method Summary
All Methods Instance Methods Concrete 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
public int getCacheSeconds()
Description copied from interface: IStaticResourceCacheConfig
The number of seconds to use when sending
caching headers.
If <=0 no caching headers will be sent.
- Specified by:
getCacheSeconds in interface IStaticResourceCacheConfig
-
isCachePrivate
public boolean isCachePrivate()
Description copied from interface: IStaticResourceCacheConfig
Should private be used when sending
caching headers?
more info...
- Specified by:
isCachePrivate in interface IStaticResourceCacheConfig
-
getCacheSecondsCdn
public Integer getCacheSecondsCdn()
Description copied from interface: IStaticResourceCacheConfig
The number of seconds to use to cache by CDNs.
If null, this option would be set.
- Specified by:
getCacheSecondsCdn in interface IStaticResourceCacheConfig
Copyright © 2016. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy