| 322 | |
| 323 | ==== Configure !GeoWebCache ==== |
| 324 | The raw WMS server will be slow, so once you've chosen your style, then you should serve via GWC. This caches pre-rendered tiles & also does MetaTiling so that the WMS has less separate requests (at a cost of increased RAM requirements) |
| 325 | |
| 326 | The version embedded within !GeoServer is great for providing a zeroconfig of the common options, however there are cases where you need to define a layer manually: |
| 327 | * Want a Background Colour (bgcolor) |
| 328 | * Want to specify an alternate style (& you'd rather not republish the layer on the WMS) |
| 329 | * Want to render a set of layers into a single tileset (so that clients don't need to download them separately & merge locally) |
| 330 | Example geowebcache.xml for GADM attached. |
| 331 | {{{ |
| 332 | cp geowebcache.xml /var/gis/geoserver_data/gwc |
| 333 | /etc/init.d/tomcat6 restart |
| 334 | }}} |