Maps and tiles
Loka never draws a map itself. It writes a mapfile per layer and asks MapServer to draw; MapCache keeps the tiles.
Mapfile and render
Section titled “Mapfile and render”Layer WMS goes through a pool of MapServer FastCGI workers. When a worker fails, the same request runs once more as CGI, so the client still gets its image.
Tile cache control
Section titled “Tile cache control”MapCache asks Loka core for the map behind a tile on an internal route. Loka core writes the MapCache configuration from the catalog and runs seed and purge jobs. MIL-STD-2525 layers are cached with 4×4 metatiles, so symbols are not cut at tile edges.