04-20-2020 06:21 AM
Hi Team,
I want to set "Cache-Control: no-cache,no-store,must-revalidate", by default value is "Cache-Control: no-cache".
As per Descriptor cache controls able to set cache control on custom web script.
I have updated Cache-Control values in tomcat\webapps\manager\WEB-INF\jsp\sessionDetail.jsp and sessionsList.jsp file but no luck.
What are the configuration changes are required for OOTB web scripts?
Thanks,
Hardik
04-20-2020 12:08 PM
You may be confusing some things here. Any changes in the Tomcat Manager application - not to mention its session-related JSPs - won't have any impact on web script cache controls.
There is also no global configuration for cache control for ALL web scripts which may be contained in an Alfresco system. Each web script provides its own descriptor and thus potentially its own cache control configuration (i.e. https://github.com/Alfresco/alfresco-remote-api/blob/master/src/main/resources/alfresco/templates/we...). Most web scripts don't and rely on the prommatic default state (https://github.com/Alfresco/surf-webscripts/blob/master/spring-webscripts/spring-webscripts/src/main...), which cannot be changed without re-compiling that specific library (in the correct version for your Alfresco system).
Explore our Alfresco products with the links below. Use labels to filter content by product module.