Two things:

1. This is not session cache as written in the code comment.
2. As I see it the value of the static cache is never set making in without effect in the current case.