|
mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
|
Per-virtual-host Apache server configuration for mod_tile. More...
#include <mod_tile.h>
Public Attributes | |
| apr_array_header_t * | configs |
| Array of tile_config_rec entries configured on this virtual host. | |
| apr_time_t | very_old_threshold |
| Age threshold in microseconds beyond which an expired tile is classified as tileVeryOld. | |
| const char * | cache_extended_hostname |
| Hostname for which extended Cache-Control max-age headers are emitted (ModTileCacheExtendedHost). | |
| const char * | renderd_socket_name |
| UNIX domain socket path or TCP hostname used to connect to renderd. | |
| const char * | tile_dir |
| Default root directory or storage backend URI for cached tiles. | |
| double | cache_duration_last_modified_factor |
| Multiplier applied to tile age since last modification when computing Cache-Control max-age. | |
| int | cache_duration_dirty |
| Cache-Control max-age in seconds returned for dirty/expired tiles that could not be re-rendered. | |
| int | cache_duration_low_zoom |
| Cache-Control max-age in seconds applied to zoom levels up to cache_level_low_zoom. | |
| int | cache_duration_max |
| Upper bound in seconds on computed HTTP Cache-Control max-age. | |
| int | cache_duration_medium_zoom |
| Cache-Control max-age in seconds applied to zoom levels up to cache_level_medium_zoom. | |
| int | cache_duration_minimum |
| Lower bound in seconds on computed HTTP Cache-Control max-age. | |
| int | cache_extended_duration |
| Extended Cache-Control max-age in seconds served to cache_extended_hostname. | |
| int | cache_level_low_zoom |
| Maximum zoom level treated as low-zoom for cache_duration_low_zoom. | |
| int | cache_level_medium_zoom |
| Maximum zoom level treated as medium-zoom for cache_duration_medium_zoom. | |
| int | delaypool_render_size |
| Maximum render token bucket size per IP (ModTileThrottlingRenders). | |
| int | delaypool_tile_size |
| Maximum tile token bucket size per IP (ModTileThrottlingTiles). | |
| int | enable_bulk_mode |
| Non-zero to submit missing tile renders with cmdRenderBulk instead of cmdRenderPrio. | |
| int | enable_dirty_url |
| Non-zero to enable /dirty URL suffix handling for manual tile invalidation. | |
| int | enable_global_stats |
| Non-zero to aggregate statistics globally across all virtual hosts rather than per-vhost. | |
| int | enable_status_url |
| Non-zero to enable /status URL suffix handling returning tile freshness metadata. | |
| int | enable_tile_throttling |
| Non-zero to enable per-client IP delaypool rate limiting (ModTileEnableTileThrottling). | |
| int | enable_tile_throttling_xforward |
| Non-zero (1 first, 2 last) to extract client IP from X-Forwarded-For headers. | |
| int | max_load_missing |
| System 1-minute load average threshold above which missing tiles return HTTP 404. | |
| int | max_load_old |
| System 1-minute load average threshold above which expired tiles are served stale. | |
| int | mincachetime [30+1] |
| Per-zoom minimum cache age overrides in seconds (0 through MAX_ZOOM_SERVER). | |
| int | renderd_socket_port |
| TCP port number used to connect to renderd when renderd_socket_name is a host (0 for UNIX socket). | |
| int | request_timeout |
| Timeout in seconds to wait for low/normal-priority tile rendering (ModTileRequestTimeout). | |
| int | request_timeout_priority |
| Timeout in seconds to wait for high-priority missing tile rendering (ModTileMissingRequestTimeout). | |
| long | delaypool_render_rate |
| Microseconds per render token refill (ModTileThrottlingRenders). | |
| long | delaypool_tile_rate |
| Microseconds per tile token refill (ModTileThrottlingTiles). | |
Per-virtual-host Apache server configuration for mod_tile.
| int tile_server_conf::cache_duration_dirty |
Cache-Control max-age in seconds returned for dirty/expired tiles that could not be re-rendered.
| double tile_server_conf::cache_duration_last_modified_factor |
Multiplier applied to tile age since last modification when computing Cache-Control max-age.
| int tile_server_conf::cache_duration_low_zoom |
Cache-Control max-age in seconds applied to zoom levels up to cache_level_low_zoom.
| int tile_server_conf::cache_duration_max |
Upper bound in seconds on computed HTTP Cache-Control max-age.
| int tile_server_conf::cache_duration_medium_zoom |
Cache-Control max-age in seconds applied to zoom levels up to cache_level_medium_zoom.
| int tile_server_conf::cache_duration_minimum |
Lower bound in seconds on computed HTTP Cache-Control max-age.
| int tile_server_conf::cache_extended_duration |
Extended Cache-Control max-age in seconds served to cache_extended_hostname.
| const char* tile_server_conf::cache_extended_hostname |
Hostname for which extended Cache-Control max-age headers are emitted (ModTileCacheExtendedHost).
| int tile_server_conf::cache_level_low_zoom |
Maximum zoom level treated as low-zoom for cache_duration_low_zoom.
| int tile_server_conf::cache_level_medium_zoom |
Maximum zoom level treated as medium-zoom for cache_duration_medium_zoom.
| apr_array_header_t* tile_server_conf::configs |
Array of tile_config_rec entries configured on this virtual host.
| long tile_server_conf::delaypool_render_rate |
Microseconds per render token refill (ModTileThrottlingRenders).
| int tile_server_conf::delaypool_render_size |
Maximum render token bucket size per IP (ModTileThrottlingRenders).
| long tile_server_conf::delaypool_tile_rate |
Microseconds per tile token refill (ModTileThrottlingTiles).
| int tile_server_conf::delaypool_tile_size |
Maximum tile token bucket size per IP (ModTileThrottlingTiles).
| int tile_server_conf::enable_bulk_mode |
Non-zero to submit missing tile renders with cmdRenderBulk instead of cmdRenderPrio.
| int tile_server_conf::enable_dirty_url |
Non-zero to enable /dirty URL suffix handling for manual tile invalidation.
| int tile_server_conf::enable_global_stats |
Non-zero to aggregate statistics globally across all virtual hosts rather than per-vhost.
| int tile_server_conf::enable_status_url |
Non-zero to enable /status URL suffix handling returning tile freshness metadata.
| int tile_server_conf::enable_tile_throttling |
Non-zero to enable per-client IP delaypool rate limiting (ModTileEnableTileThrottling).
| int tile_server_conf::enable_tile_throttling_xforward |
Non-zero (1 first, 2 last) to extract client IP from X-Forwarded-For headers.
| int tile_server_conf::max_load_missing |
System 1-minute load average threshold above which missing tiles return HTTP 404.
| int tile_server_conf::max_load_old |
System 1-minute load average threshold above which expired tiles are served stale.
| int tile_server_conf::mincachetime[30+1] |
Per-zoom minimum cache age overrides in seconds (0 through MAX_ZOOM_SERVER).
| const char* tile_server_conf::renderd_socket_name |
UNIX domain socket path or TCP hostname used to connect to renderd.
| int tile_server_conf::renderd_socket_port |
TCP port number used to connect to renderd when renderd_socket_name is a host (0 for UNIX socket).
| int tile_server_conf::request_timeout |
Timeout in seconds to wait for low/normal-priority tile rendering (ModTileRequestTimeout).
| int tile_server_conf::request_timeout_priority |
Timeout in seconds to wait for high-priority missing tile rendering (ModTileMissingRequestTimeout).
| const char* tile_server_conf::tile_dir |
Default root directory or storage backend URI for cached tiles.
| apr_time_t tile_server_conf::very_old_threshold |
Age threshold in microseconds beyond which an expired tile is classified as tileVeryOld.