Module: Roda::RodaPlugins::StaticPathInfo

Defined in:
lib/roda/plugins/static_path_info.rb

Overview

The static_path_info plugin changes Roda’s behavior so that the SCRIPT_NAME/PATH_INFO environment settings are not modified while the request is beind routed, improving performance. If you have any helpers that operate on PATH_INFO or SCRIPT_NAME, their behavior will not change depending on where they are called in the routing tree.

This still updates SCRIPT_NAME/PATH_INFO before dispatching to another rack app via r.run.

Defined Under Namespace

Modules: RequestMethods