I was referring to dispatcher caching. The path must have an extension (at the end) to be cacheable.