mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
Loading...
Searching...
No Matches
tile_server_conf Struct Reference

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).

Detailed Description

Per-virtual-host Apache server configuration for mod_tile.

Member Data Documentation

◆ cache_duration_dirty

int tile_server_conf::cache_duration_dirty

Cache-Control max-age in seconds returned for dirty/expired tiles that could not be re-rendered.

◆ cache_duration_last_modified_factor

double tile_server_conf::cache_duration_last_modified_factor

Multiplier applied to tile age since last modification when computing Cache-Control max-age.

◆ cache_duration_low_zoom

int tile_server_conf::cache_duration_low_zoom

Cache-Control max-age in seconds applied to zoom levels up to cache_level_low_zoom.

◆ cache_duration_max

int tile_server_conf::cache_duration_max

Upper bound in seconds on computed HTTP Cache-Control max-age.

◆ cache_duration_medium_zoom

int tile_server_conf::cache_duration_medium_zoom

Cache-Control max-age in seconds applied to zoom levels up to cache_level_medium_zoom.

◆ cache_duration_minimum

int tile_server_conf::cache_duration_minimum

Lower bound in seconds on computed HTTP Cache-Control max-age.

◆ cache_extended_duration

int tile_server_conf::cache_extended_duration

Extended Cache-Control max-age in seconds served to cache_extended_hostname.

◆ cache_extended_hostname

const char* tile_server_conf::cache_extended_hostname

Hostname for which extended Cache-Control max-age headers are emitted (ModTileCacheExtendedHost).

◆ cache_level_low_zoom

int tile_server_conf::cache_level_low_zoom

Maximum zoom level treated as low-zoom for cache_duration_low_zoom.

◆ cache_level_medium_zoom

int tile_server_conf::cache_level_medium_zoom

Maximum zoom level treated as medium-zoom for cache_duration_medium_zoom.

◆ configs

apr_array_header_t* tile_server_conf::configs

Array of tile_config_rec entries configured on this virtual host.

◆ delaypool_render_rate

long tile_server_conf::delaypool_render_rate

Microseconds per render token refill (ModTileThrottlingRenders).

◆ delaypool_render_size

int tile_server_conf::delaypool_render_size

Maximum render token bucket size per IP (ModTileThrottlingRenders).

◆ delaypool_tile_rate

long tile_server_conf::delaypool_tile_rate

Microseconds per tile token refill (ModTileThrottlingTiles).

◆ delaypool_tile_size

int tile_server_conf::delaypool_tile_size

Maximum tile token bucket size per IP (ModTileThrottlingTiles).

◆ enable_bulk_mode

int tile_server_conf::enable_bulk_mode

Non-zero to submit missing tile renders with cmdRenderBulk instead of cmdRenderPrio.

◆ enable_dirty_url

int tile_server_conf::enable_dirty_url

Non-zero to enable /dirty URL suffix handling for manual tile invalidation.

◆ enable_global_stats

int tile_server_conf::enable_global_stats

Non-zero to aggregate statistics globally across all virtual hosts rather than per-vhost.

◆ enable_status_url

int tile_server_conf::enable_status_url

Non-zero to enable /status URL suffix handling returning tile freshness metadata.

◆ enable_tile_throttling

int tile_server_conf::enable_tile_throttling

Non-zero to enable per-client IP delaypool rate limiting (ModTileEnableTileThrottling).

◆ enable_tile_throttling_xforward

int tile_server_conf::enable_tile_throttling_xforward

Non-zero (1 first, 2 last) to extract client IP from X-Forwarded-For headers.

◆ max_load_missing

int tile_server_conf::max_load_missing

System 1-minute load average threshold above which missing tiles return HTTP 404.

◆ max_load_old

int tile_server_conf::max_load_old

System 1-minute load average threshold above which expired tiles are served stale.

◆ mincachetime

int tile_server_conf::mincachetime[30+1]

Per-zoom minimum cache age overrides in seconds (0 through MAX_ZOOM_SERVER).

◆ renderd_socket_name

const char* tile_server_conf::renderd_socket_name

UNIX domain socket path or TCP hostname used to connect to renderd.

◆ renderd_socket_port

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).

◆ request_timeout

int tile_server_conf::request_timeout

Timeout in seconds to wait for low/normal-priority tile rendering (ModTileRequestTimeout).

◆ request_timeout_priority

int tile_server_conf::request_timeout_priority

Timeout in seconds to wait for high-priority missing tile rendering (ModTileMissingRequestTimeout).

◆ tile_dir

const char* tile_server_conf::tile_dir

Default root directory or storage backend URI for cached tiles.

◆ very_old_threshold

apr_time_t tile_server_conf::very_old_threshold

Age threshold in microseconds beyond which an expired tile is classified as tileVeryOld.


The documentation for this struct was generated from the following file: