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

flushMethodCache not working if called before cacheMethod #1631

Merged
merged 2 commits into from
Oct 11, 2013

Conversation

ovidiupruteanu
Copy link
Contributor

When calling flushMethodCache it correctly empties self::$methodCache but if cacheMethod is called afterwards self::$methodCache gets populated with data from the Cache.

When calling flushMethodCache it correctly empties self::$methodCache but if cacheMethod is called afterwards self::$methodCache gets populated with data from the Cache.
@Phally
Copy link
Contributor

Phally commented Oct 1, 2013

Could you add a test for this specific situation please?

@lorenzo
Copy link
Member

lorenzo commented Oct 11, 2013

This seems like a reasonable performance improvement. Thanks

lorenzo added a commit that referenced this pull request Oct 11, 2013
flushMethodCache not working if called before cacheMethod
@lorenzo lorenzo merged commit 8cdbafd into cakephp:master Oct 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants