Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to set a cacheKey in constructor and to reuse this key #4

Open
tsteur opened this issue Apr 16, 2015 · 0 comments
Open

Comments

@tsteur
Copy link
Member

tsteur commented Apr 16, 2015

For example by developing a decorator.

This will bring a performance improvement as we do for each fetch, contains, save run a preg_match https://github.com/piwik/component-cache/blob/master/src/Lazy.php#L119 and a completeCacheKey which is expensive when executed a million of times (which we do) eg in BulkTracking or QueuedTracking. Also via Archiving etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants