You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/11/28 17:22:21 UTC

[GitHub] ocket8888 edited a comment on issue #2991: WIP Traffic Ops Go ATS Configs - meta, profiles, remap.config

ocket8888 edited a comment 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 an `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:
users@infra.apache.org


With regards,
Apache Git Services