Skip to main content

should_cache

Function should_cache 

Source
fn should_cache(path: &str) -> bool
Expand description

Check if a path should be cached

Returns true for CSS, JS, images, fonts, and other static assets.