Did you know ... Search Documentation:
Pack blog_core -- prolog/bc/bc_router.pl
PublicShow source

Top-level HTTP handler that provides file serving, routing through arouter and fallback to http_dispatch/1.

 bc_enable_expires is det
Enables Cache-Control and Expires headers.
 bc_route(+Request) is det
Routes the given HTTP request. First tries ar_route/1. If it fails then it tries serve_file/1. Finally tries http_dispatch/1.