swayok / alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea
MIT License
169 stars 26 forks source link

Array adapter support #42

Open frankiejarrett opened 1 year ago

frankiejarrett commented 1 year ago

As of v1.1 the cache/array-adapter supports hierarchal mode.

Test suites often use the array driver since tests don't need a persistent cache and it's considerably faster than Redis. For example, our overall test suite is ~2x faster, which means a lot in CI minutes.

@swayok thanks for your consideration and this great lib! Was really banging my head against the wall until I found this.

swayok commented 1 year ago

Hi. I will try to add array adapter if it is compatible.

frankiejarrett commented 1 year ago

@swayok hey! any idea if the array driver is indeed compatible?

swayok commented 1 year ago

@fjarrett Sorry, I had no time to test it =(