[Issue #13] Disable caching if session messages is not empty.