Class ContentCaching
When content caching is enabled, recently-accessed files are stored on the
load balancer for easy retrieval by web clients. Content caching improves the
performance of high traffic web sites by temporarily storing data that was
recently accessed. While it's cached, requests for that data will be served by
the load balancer, which in turn reduces load off the back end nodes. The result
is improved response times for those requests and less load on the web
server.
-
OpenCloud\Common\Base
-
OpenCloud\Common\PersistentObject
-
OpenCloud\LoadBalancer\Resource\SubResource
-
OpenCloud\LoadBalancer\Resource\ContentCaching
Methods summary
public
HttpResponse
|
#
create( array $params = array() )
Creates a new object
Parameters
- $params
array $params array of values to set when creating the object
Returns
HttpResponse
Throws
VolumeCreateError if HTTP status is not Success
Overrides
|
public
HttpResponse
|
#
delete( )
Deletes an object
Returns
HttpResponse
Throws
DeleteError if HTTP status is not Success
Api
Overrides
|
Methods inherited from OpenCloud\Common\PersistentObject
__construct(),
action(),
checkExtension(),
createUrl(),
findLink(),
getClient(),
getMetadata(),
getParent(),
getService(),
getUrl(),
id(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
noCreate(),
noDelete(),
noUpdate(),
parseResponse(),
primaryKeyField(),
refreshFromLocationUrl(),
region(),
resourceName(),
setMetadata(),
setParent(),
setService(),
status(),
update(),
url(),
waitFor()
|
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getLogger(),
getProperty(),
makeResourceIteratorOptions(),
populate(),
propertyExists(),
setLogger(),
setProperty(),
stripNamespace(),
toCamel(),
toUnderscores()
|