Image Caching

    The caching library uses the Illuminate/Cache package which is part of Laravel and can be easily integrated into the . Based on your Laravel cache configuration you are able to choose between Filesystem, Database, Memcached or Redis for the temporary buffer store.

    The principle is simple. Once the caching package is installed, you are able to call the static cache method. Every method call to the Intervention Image class is captured and checked by the caching interface. If this particular sequence of operations already have taken place, the data will be loaded directly from the cache instead of a resource-intensive GD operation.

    Now you are able to require the vendor/autoload.php file to PSR-4 autoload the library.

    Usage

    Read the method documentation to find out more about the possibilities.

    To take the caching one step further, take a look at URL based image manipulation.