The QGIS Server GetCapabilities request cache size can now be configured with the QGIS_SERVER_CAPABILITIES_CACHE_SIZE
parameter, which uses an integer input specifying the number of requests to cache. A notice of "Removed cached WMS capabilities document" will be logged when all slots are taken and a cachd document is dropped.
This feature was developed by Jürgen Fischer