Endpoint cache rnd2

after rebase, comments in https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/pull/41