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

Implementing cache key scoping. #1067

Merged
merged 1 commit into from Feb 4, 2014
Merged

Implementing cache key scoping. #1067

merged 1 commit into from Feb 4, 2014

Conversation

mariuswilms
Copy link
Member

This allows to provide a scope on a per adapter
configuration basis. Namespacing/scoping of the keys
is then handled by the adapters transparently.

When multiple apps access the same cache store, scoping
can be used to prevent accidental overwriting of keys.

  • Removing unused cache prefix option.
  • Adding scoping docs to cache class.
  • Adding helper methods to base adapter.
  • Adding tests.

@ericcholis
Copy link
Contributor

This is great, I was doing this manually using Environment::get()

This allows to provide a `scope` on a per adapter
configuration basis. Namespacing/scoping of the keys
is then handled by the adapters transparently.

When multiple apps access the same cache store, scoping
can be used to prevent accidental overwriting of keys.

- Removing unused cache prefix option.
- Adding scoping docs to cache class.
- Adding helper methods to base adapter.
- Adding tests.
nateabele added a commit that referenced this pull request Feb 4, 2014
@nateabele nateabele merged commit 47e494f into UnionOfRAD:dev Feb 4, 2014
@mariuswilms
Copy link
Member Author

I've pushed UnionOfRAD/framework@34f4844 to the framework repo's dev branch.

@mariuswilms mariuswilms deleted the cache-scoping branch May 3, 2014 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants