[1.5.x] Fixed #6195 -- Documented caching options for javascript_catalog.

Backport of 0836670 from master