incheoloh commented on issue #11854:
URL: 
https://github.com/apache/trafficserver/issues/11854#issuecomment-2481989363

   The following configuration works as I wanted it to. 
   It would be better if there was a secondary specification called 'status' in 
the cache.config file.
   (e.g dest_domain=example.com status=403 ttl-in-cache=60s)
   
   If the default TTL is set to 1 day and negative response is set to 60 seconds
   Cache-Control and Cache.config are not configured.
   
   records.yaml
   ```
   proxy.config.http.cache.heuristic_min_lifetime : 86400 
   proxy.config.http.cache.heuristic_max_lifetime : 86400
   
   proxy.config.http.negative_caching_enabled : 1
   proxy.config.http.negative_caching_lifetime : 60


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to