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

Better explanation of Cache features #126

Closed
ghost opened this issue Nov 24, 2015 · 3 comments
Closed

Better explanation of Cache features #126

ghost opened this issue Nov 24, 2015 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Nov 24, 2015

I like to use the cache features of Gaufrette.

Currently I know Doctrine Cache, SncRedis, memcached, ..

How could I use SncRedis or Doctrine Cache? Is it possible or not?
Should I write any own cache adapter for Gaufrette to use it?

I don't know if these cache adapters are following a PSR or any other generic interfaces to use together. Is it possible or not? If yes: How? If no: How could I write my own cache adapter?

It would be great to update the documentation about this.

@ghost
Copy link
Author

ghost commented Jan 16, 2016

@akovalyov Could you please add the "Docs" label?

@akovalyov
Copy link
Contributor

@JHGitty putting the label. However, I am not sure about the ETA for it, but it is definitely something in the todo.

@akovalyov akovalyov added the Docs label Jan 16, 2016
@akovalyov
Copy link
Contributor

@JHGitty returning back to you with some kind of answers:

  1. https://knplabs.github.io/Gaufrette/caching.html describes the basic idea of cache adapter. To be precise - you can use any adapter available in Gaufrette as source and dest. Moreover, after Flysystem adapter Gaufrette#390 you can use any adapter implementation available for Gaufrette and Flysystem.
  2. https://github.com/KnpLabs/Gaufrette/blob/master/doc/implementing-new-adapter.md (should be on the main docs site soon) is about new adapter creation.

Current implementation doesn't support PSR-6 and it is not planned to add one in the nearest roadmap.

Please, let me know if you have any questions (or I have forgotten to answer any).

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

No branches or pull requests

1 participant