PHP wrapper-engine across multiple caching engines with encryption support