Don't perform any caching when controller.perform_caching returns false

Fix #138