Hi @vishnu9 ,
You may use dispatcher Header set
https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/caching#further-optimizations
Js/Css files for(12 hours)
<LocationMatch "^/etc\.clientlibs/.*\.(?i:js|css|ttf|woff2)$">
Header set Cache-Control "max-age=2592000,stale-while-revalidate=43200,stale-if-error=43200,public,immutable" "expr=%{REQUEST_STATUS} < 400"
Header set Age 0
</LocationMatch>
for 1 hour
Header set Cache-Control "max-age=3600,stale-while-revalidate=3600,stale-if-error=3600,public,immutable" "expr=%{REQUEST_STATUS} < 400"
Note:- Instead of refreshing whole clientlibs every hour you may create separate clientlib and write rules of 1 hour for that cleintlib only and for other clientlib you may keep 12 hrs
Thanks