Experimenting with using cache to prevent second downloadall attempt in PHP

Signed-off-by: Rob Hardy <r.hardy@yorksj.ac.uk>