Url correction in ArcGISCache.js 

for useArcGISServer=true

Tile url ends with ".../default/default/tile/1/0/1" but the correct url is "/tile/1.0.0/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png".

Thus disturbs "/tile/" and the image type is missing.