| | 1 | == Feeds Caching == |
| | 2 | |
| | 3 | * per-feed settings |
| | 4 | * cron download of the feed when expiring (not when requested by user) |
| | 5 | * http://dev.openlayers.org/docs/files/OpenLayers/Strategy/Refresh-js.html |
| | 6 | * build into OL (done) |
| | 7 | * link to cache refresh time |
| | 8 | |
| | 9 | Example output: |
| | 10 | {{{ |
| | 11 | var kmlLayerExercise_24_Injects_Strategy=new OpenLayers.Strategy.Refresh({interval:120000}); |
| | 12 | kmlLayerExercise_24_Injects_Strategy.setLayer(kmlLayerExercise_24_Injects); |
| | 13 | kmlLayerExercise_24_Injects_Strategy.start(); |
| | 14 | }}} |
| | 15 | ---- |
| | 16 | [wiki:BluePrintGeographicInformationSystems GIS BluePrints] |