view mod_http_libjs/README.markdown @ 5381:32a9817c7516

mod_firewall: Initialize compiled chunk just once for all handlers This should fix a case where some stateful dependencies (such as throttles) produce separate instances for every call to new_handler(), leading to surprising behaviour (e.g. rules executed via JUMP CHAIN vs ::deliver would have separate rate limits). This also adds better error handling in case the compiled code fails to run for some reason.
author Matthew Wild <mwild1@gmail.com>
date Fri, 28 Apr 2023 13:27:06 +0100
parents 88a469b285f5
children
line wrap: on
line source

---
labels:
- 'Stage-Stable'
summary: 'Serve common Javascript libraries'
...

Introduction
============

This module serves common static CSS and Javascript libraries from the
filesystem, allowing other HTTP modules to easily reference them.

The default configuration works out of the box with Debian (and derivatives)
`libjs-*` packages, such as libjs-jquery and libjs-bootstrap.

You can override the filesystem location using the `libjs_path` configuration
option. The default is `/usr/share/javascript`.

Compatibility
=============

  ----- -------
  0.11   Works
  ----- -------