cache only in debug env