The CacheEnable documentation indicates this directive's context is "server config, virtual host," which means those are the only two areas/containers where this directive can exist (it cannot exist in a <Location>, <Directory>, or <Files> container).

The documentation also indicates there's a third argument that allows you to specify the location/directory.

# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.