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

Improve resource cache #34

Open
nohponex opened this issue May 17, 2016 · 2 comments
Open

Improve resource cache #34

nohponex opened this issue May 17, 2016 · 2 comments

Comments

@nohponex
Copy link
Member

Make cache

  • resource model depended instead of type depended
  • make resource fields depended probably use some hash method, it's important not to return a cached resource object with different fields

Also protected static function invalidateCache($id) method should probably be public instead

@nohponex nohponex added this to the Release 1.x milestone May 17, 2016
@nohponex
Copy link
Member Author

@alkallio

@nohponex
Copy link
Member Author

Cache should be disabled by default

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

1 participant