Created
August 7, 2015 09:02
-
-
Save sahanh/95e7cae765e4fe9b2f5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private function generateCacheKey($request) | |
| { | |
| $path = $request->getPathInfo(); | |
| $content = $request->getContent(); | |
| return 'app:'.sha1($path.$content); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment