Resolve #3206375 "Allow more granular caching"

Pay attention. This is my first merge request in the new gitlab flow. Please verify if I did it right!

Added composer dependency & settings separated for max-age and s-maxage Closes #3206375

Merge request reports