adding quick and dirty cache handling for custom dragonfly endpoint