class

Wax::Assets

Inherits HTTP::Handler < Reference < Object

Constructors

new(source : String = "assets", target : String = "public", cache_for cache_duration : Time::Span = (ENV.fetch("ASSET_CACHE_DURATION_SECONDS", "86400")).to_f.seconds)
Source

Instance methods

[]?(key : String)
Source
content_cache
Source
hash(key : String)
Source
name_map
Source

Nested types