My intent is to have cached features for 24 hours. I am following the instruction on this link https://enterprise.arcgis.com/en/server/latest/publish-services/windows/feature-services-and-client-applications.htm
I set cacheControlMaxAge to 24 hours on ArcGIS Admin but when I see the response header still the max-age is 0. I appreciate if anyone can help.
this is how response header looks like:

I am using this service in my application.
arcgis/rest/services/........../FeatureServer/0/query?f=json&where=
this is how my service looks like regarding cacheControlMaxAge
