require cache bug fix, documentation improvements