ocket8888 commented on issue #2991: WIP Traffic Ops Go ATS Configs - meta, 
profiles, remap.config
URL: https://github.com/apache/trafficcontrol/pull/2991#issuecomment-442531068
 
 
   Regarding that, I had a similar idea - if profiles and parameters defining a 
config haven't been modified, TO could return a `304 NOT MODIFIED` in response 
to a request using a `IF-MODIFIED-SINCE` header. It would mean that when a file 
is updated you pull the entire thing, not just diffs, but would allow TO to 
skip generation in cases where it hasn't been modified.
   
   Also, the way our config file generation works atm (may change when 
re-written to Go) is non-deterministic, and can result in diffs that aren't 
real - just different ordering of the same lines.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to