Seth, you can use OGR to retrieve the updated features and give it to mapcache_seed. See http://mapserver.org/mapcache/seed.html#optional-commandline-options-when-using-ogr-geos .
The ows_updatesequence metadata signals changes in the metadata returned by a GetCapabilities request, i.e. when adding/removing layers, descriptions and the like. HTH > -----Ursprüngliche Nachricht----- > Von: mapserver-users [mailto:[email protected]] Im > Auftrag von Seth G > Gesendet: Sonntag, 2. Oktober 2016 15:23 > An: [email protected] > Betreff: [mapserver-users] Updating MapCache on feature edits > > Hi list, > > I have a few MapServer layers based on data that can be edited at any > time. In practice this usually happens in short bursts every month or so. > The remaining time the layers would benefit greatly from using a tile > cache. > > Are there any suggested methods on how to automatically > purge/delete/change the cache when an edit happens when using MapServer > and Mapcache? > > I see that GeoWebCache/Geoserver allows a GeoRSS feed to invalidate > features > http://geowebcache.org/docs/current/configuration/layers/georss.html > > > The ows_updatesequence metadata parameter for a WMS layer looks like it > could be used somehow (see http://mapserver.org/ogc/wms_server.html#web- > object-metadata), but it seems that custom dimensions need to be requested > by the client, and any Mapcache configurations would need Apache to be > restarted. > > Any best practices, or solutions appreciated, > > Seth > > > -- > web: http://geographika.co.uk <http://geographika.co.uk> > twitter: @geographika > > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
