Content Caching

When content caching is enabled on a load balancer, recently-accessed files are stored on the load balancer for easy retrieval by web clients. Requests to the load balancer for these files are serviced by the load balancer itself, which reduces load off its back-end nodes and improves response times as well.


In order to interact with this feature you must first retrieve a particular load balancer, like so:

$loadBalancer = $service->loadBalancer('{id}');

Check Configuration

// TRUE if enabled, FALSE if not
$contentCaching = $loadBalancer->hasContentCaching();

Enable Content Caching


Disable Content Caching