Overview

Namespaces

  • None
  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Exceptions
      • Log
      • Request
        • Response
    • Compute
    • Database
    • DNS
    • LoadBalancer
      • Resources
    • ObjectStore
      • Resource
    • Orchestration
    • Volume
  • PHP

Classes

  • Access
  • Algorithm
  • AllowedDomain
  • BillableLoadBalancer
  • ConnectionLogging
  • ConnectionThrottle
  • ContentCaching
  • ErrorPage
  • HealthMonitor
  • LoadBalancer
  • Metadata
  • Node
  • NodeEvent
  • Protocol
  • Readonly
  • SessionPersistence
  • SSLTermination
  • Stats
  • SubResource
  • Usage
  • VirtualIp
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

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
Extended by OpenCloud\Common\PersistentObject
Extended by OpenCloud\LoadBalancer\Resources\SubResource
Extended by OpenCloud\LoadBalancer\Resources\ContentCaching
Namespace: OpenCloud\LoadBalancer\Resources
Located at OpenCloud/LoadBalancer/Resources/ContentCaching.php
Methods summary
public HttpResponse
# create( array $params = array() )

Creates a new object

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

Api

Overrides

OpenCloud\Common\PersistentObject::create()
public HttpResponse
# delete( )

Deletes an object

Deletes an object

Returns

HttpResponse

Throws

DeleteError
if HTTP status is not Success

Api

Overrides

OpenCloud\Common\PersistentObject::delete()
Methods inherited from OpenCloud\LoadBalancer\Resources\SubResource
CreateJson(), initialRefresh(), name(), updateJson(), url()
Methods inherited from OpenCloud\Common\PersistentObject
__construct(), __set(), action(), checkExtension(), createJson(), createUrl(), customAction(), findLink(), getParent(), getService(), id(), jsonCollectionElement(), jsonCollectionName(), jsonName(), noCreate(), noDelete(), noUpdate(), parent(), primaryKeyField(), refresh(), region(), resourceName(), service(), setParent(), setService(), status(), update(), waitFor()
Methods inherited from OpenCloud\Common\Base
checkJsonError(), getHttpRequestObject(), getLogger(), makeQueryString(), populate(), setLogger(), setProperty()
Properties summary
public boolean $enabled
#
protected static string $json_name "contentCaching"
#
protected static string $url_resource "contentcaching"
#
protected array $createKeys array('enabled')
#
Properties inherited from OpenCloud\Common\PersistentObject
$id
PHP OpenCloud API API documentation generated by ApiGen 2.8.0