Configuration for asset pipeline
Azu.configure do |c|
c.assets.prefix = "/assets"
c.assets.path = "public/assets"
c.assets.fingerprint = true
c.assets.manifest_path = "public/assets/manifest.json"
end
Instance methods
cache_max_age
Cache-Control header max-age for assets (in seconds)
Sourcecache_max_age=(cache_max_age :
Int32)
Cache-Control header max-age for assets (in seconds)
Sourcefingerprint=(fingerprint :
Bool)
Whether to append content hash fingerprints to asset URLs
Sourcefingerprint?
Whether to append content hash fingerprints to asset URLs
SourceGet the fingerprinted path for an asset
Sourceintegrity=(integrity :
Bool)
Whether to include integrity hashes (SRI)
Sourceintegrity?
Whether to include integrity hashes (SRI)
Sourceload_manifest
Load or reload the asset manifest
Sourcemanifest_path
Path to asset manifest file (for fingerprinted assets)
Sourcemanifest_path=(manifest_path :
String)
Path to asset manifest file (for fingerprinted assets)
Sourcepath
File system path to assets directory
SourceFile system path to assets directory
Sourceprefix
URL prefix for asset paths
SourceURL prefix for asset paths
Source