Hello Sacha,
according to https://mapserver.org/mapcache/sources.html#wmts-sources MapCache
has no direct support for such source. You might try the support through GDAL
mentioned there using a service description
(https://gdal.org/drivers/raster/wmts.html#local-service-description-xml-file ).
Hi Jeff,
I followed the link you gave and it works perfectly but for
ol.source.tileWMS.
I need to use ol.source.XYZ and get tiles with http://my.server/z/x/y.png
scheme.
In my example, i have a source:
http://{1-4}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png, declared
in openlayers as ol.s
I don't know that it applies directly to your current needs, but there
is a wiki page outlining specific steps to enable OpenLayers + MapCache
at https://ms4w.com/trac/wiki/MapCacheOpenLayers
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/
O