Releases: ServerfulArch/Public
Releases · ServerfulArch/Public
0.0.4
0.0.3
0.0.2
A prerelease of the Serverful/Public extension.
This version adds the ability to cache public resources. To validate these files, the ETag dependency was added. This is a peer dependency, which means that the Serverful/Public extension can use any 1.x
version (the latest will be installed by default).
Public
Public(LocalPath: Pathlike, Cache?: Integer) -> Function
- Cache amount is inputted as a number, defaults to
300
(seconds). - If the value -1 was provided,
no-store
is used instead.
- Cache amount is inputted as a number, defaults to
0.0.1
A prerelease of the Serverful/Public extension.
The Public extension allows you to configure a directory to be served with raw extensions. These alpha releases are to optimise and secure this extension before the main releases.
Public
Public(LocalPath: Pathlike) -> Function
- Returns a handler to be used as the gateway handler for Serverful.
- The local path can either be absolute or relative.
There will be certain other options added in later releases, such as cache configuration.