Caching of OpenJDK installations

Am I reading the “new” command line arguments correctly, that an installation of an OpenJDK is cached?

$ export JAVA_HOME=~/openjdk11
$ export PATH="$JAVA_HOME/bin:$PATH"
$ ~/bin/install-jdk.sh --target "/home/travis/openjdk11" --workspace "/home/travis/.cache/install-jdk" --feature "11" --license "GPL" --cacerts

If yes: that’s great! When was the caching applied?

You mean --workspace? It was introduced by https://github.com/travis-ci/travis-build/pull/1347 in May last year.

Kind of. IIRC, the caching didn’t work back then, because the script used to install the JDK binaries in user’s home.

Was /home/travis/.cache introduced later?