Managing layers with the GWC REST API

You were already in contact with cached layers in Chapter 5, Advanced Configurations. You had a quick tour of GeoWebCache (http://geowebcache.org/), which is a Java open source project. Like any caching system, it acts as a proxy between the clients and the map server. There is a standalone version that works with any map server being compliant with the WMS standard.

Indeed, GeoWebCache uses the WMS syntax to retrieve tiles from the map server. It exposes the tiles in several ways, with the GeoServer integrated version you can use:

  • Web Map Service (WMS)
  • WMS Tiling Client Recommendation (WMS-C)
  • Web Map Tiling Service (WMTS)
  • Tile Map Service (TMS)

You used the integrated version of GeoWebCache and it is a good choice ...

Get GeoServer Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.