Hello, I'm trying to figure out the best way to cache a php array, I have a library called "Assets" and this library contains a custom "compiler" that returns something like this:
array('modules' => [ 'core' => '/app/assets/js/core.js', '$' => '/app/assets/js/$.js', 'bootloader' => '/app/assets/js/bootloader.js', ], 'dependencies' => [ 'core' => ['$', 'bootloader'], ], );
and I wan't to cache this array to avoid the "searching" process on every request. Should i use which caching method ? (memcache, libmemcached or other?) Should I create a service for the assets caching method ?
or a cache for every lib? (memcached for example):