Re: [Geoserver-users] Caching Updated Data
Hi, You can check your tile cache directory on the GeoServer to see what tiles have been pre-cached. Tiles won't be refreshed unless you force them to be. Caching the points - I believe you might be able to use WMS-C for that. Cheers, Jonathan On 5 April 2014 18:18, Diego M. wrote: > Thank you! i did initiate the seed tiles then i replaced wms with > gwc/service/wms in layer requesting in OpenLayers. > > ow, how can i tell if it works? do the tiles get refreshed by themselves > without me refreshing the page or what? > > and I use WMS to display my points on the map, is there any way to cache > the > layer where it doesn't need to reload points whenever i navigate on the > map? > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Caching-Updated-Data-tp5132000p5133301.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > > -- > ___ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Caching Updated Data
Thank you! i did initiate the seed tiles then i replaced wms with gwc/service/wms in layer requesting in OpenLayers. ow, how can i tell if it works? do the tiles get refreshed by themselves without me refreshing the page or what? and I use WMS to display my points on the map, is there any way to cache the layer where it doesn't need to reload points whenever i navigate on the map? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Caching-Updated-Data-tp5132000p5133301.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Caching Updated Data
On Sat, Mar 29, 2014 at 10:04 AM, Diego M. wrote: > I have a PostGIS database that gets updated about once every two hours. Since > Geoserver datastore do not do any caching, I was looking for service does > that and i found GeoWebCache REST API > http://geowebcache.org/docs/current/rest/seed.html > > from what i understand, its the only option for caching updated (new) data. > am i right? and is there any detailed example on how to apply it? > > I am using openlayers, with wms Hi Yes, you can use the GeoWebCache REST API, for example: export GEOSERVER_URL=http://localhost:8080/geoserver export GEOSERVER_USER=admin export GEOSERVER_PWD=xyz export LAYER=mylayer curl -v -u $GEOSERVER_USER:$GEOSERVER_PWD -XPOST -H "Content-type: text/xml" -d '$LAYER900913120image/pngtruncate2' "$GEOSERVER_URL/gwc/rest/seed/$LAYER.xml" regards p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Caching Updated Data
I have a PostGIS database that gets updated about once every two hours. Since Geoserver datastore do not do any caching, I was looking for service does that and i found GeoWebCache REST API http://geowebcache.org/docs/current/rest/seed.html from what i understand, its the only option for caching updated (new) data. am i right? and is there any detailed example on how to apply it? I am using openlayers, with wms -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Caching-Updated-Data-tp5132000.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users