The WMS protocol has this covered with an update sequence number, clients are expected to poll this value when connecting to the service to see if any cached layer definitions they are working from have changed.
As for the contents geoserver has had an RSS feed that can be used to keep track of any changes made via WFS. - Initially used to keep a cluster of WFS's in sync it could be used by clients also. - The same hook is used to automatically truncate any tiles that have been modified via WFS (so if your tile caching settings are set appropriately downstream caches should pick up any changes as their contents are refreshed) The difficult part of you question is "automatically refreshing the URL" - the URL remains the same in each case as it is the same data service, and data product being published. The contents of the data have changed but the service that accesses it remains available via the same URL. On Thu, May 14, 2020 at 5:46 PM Jody Garnett <jody.garn...@gmail.com> wrote: > Good afternoon Diego: > > My employer GeoCat is one of those listed for GeoServer commercial support > <http://geoserver.org/support/> and we would of course love an > opportunity to work with you. > > If you would like to contact myself as a member of the GeoServer community > please do so via the user list (CCed) as outlined on the GeoServer community > support <http://geoserver.org/comm/> page. As a project GeoServer likes > to encourage community participation and you can help by asking questions > in public where more participants have a chance to answer your question and > learn from each others discussion. > > Please ensure you have read through the post guidelines > <http://geoserver.org/comm/userlist-guidelines.html> before sending email > to the user list. > -- > Jody Garnett > > > On Wed, 13 May 2020 at 12:59, Diego Fernández García <itt...@gmail.com> > wrote: > >> Hi! >> My name is Diego Fernández and I live in Spain. >> I use GeoServer and PostGIS to publish WMS services. I have an automatic >> system to load points, lines and polygons. Currently, to see that new >> information, I have to refresh the WMS url. >> Do you know of any way to automate the refreshing of the URL every time a >> new record is created in the database? >> Thanks and regards, >> Diego >> >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users