rob05c commented on a change in pull request #2262: Part 1 of Range Request
handling
URL:
https://github.com/apache/incubator-trafficcontrol/pull/2262#discussion_r188121319
##########
File path: grove/plugin/plugin.go
##########
@@ -91,6 +92,12 @@ type BeforeRespondData struct {
Context *interface{}
}
+type BeforeCacheLookUpData struct {
Review comment:
Any objection to putting the overrideFunc in here? So it'd be `type
BeforeCacheLookUpData struct { OverrideCacheKey func(string) ...` and
`d.OverrideCacheKey("foo")` ? IMO it'd be cleaner and simpler, to avoid adding
the extra parameter to everything.
----------------------------------------------------------------
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