[mapserver-dev] Mapfile is parsed on every MapServer FastCGI request

Bjoern Schilberg bjoern.schilberg at intevation.de
Mon Jan 3 11:08:53 EST 2011


Hi Steve,
thanks for the super fast reply.

On Monday 03 January 2011 15:54:30 Stephen Woodbridge wrote:
> No that is the way things work.
> FastCGI gives you primarily two benefits:
>
> 1. process creation only happens ones
> 2. you can cache you database connection which can be very costly to
> reconnect.
>
> The reason that the mapfile is not cached is because you can have a site
> that supports multiple mapfiles, Mapfiles can be changed via the URL
> parameters and parts of mapfiles can to changed via substitution
> parameters in the URL.
>
> Hope this helps,

Thanks for the clarification, this clears things up.

bj


More information about the mapserver-dev mailing list