Closed rsamoilov closed 2 months ago
This adds the ability for Rage apps to serve static assets from the public folder.
public
Enable the feature using the public_file_server configuration:
public_file_server
Rage.configure do config.public_file_server.enabled = true end
gzip
wrk http://localhost:3000/assets/40kb.js.gz
Rails: 8719 RPS Rage: 22980 RPS
@nikki-dev-s This will go into the 1.9.0 release.
Static file server
Description
This adds the ability for Rage apps to serve static assets from the
public
folder.Usage
Enable the feature using the
public_file_server
configuration:Features
gzip
version of files if the client supports thegzip
transfer-encoding;Benchmark
wrk http://localhost:3000/assets/40kb.js.gz
Rails: 8719 RPS Rage: 22980 RPS