Skip to content

Choose a tag to compare

@dougboberg dougboberg released this 24 Jul 16:28

Dropwizard 5.0.2 support

Added simple constructor to pass in cache days without needing to specify every constructor possibility.

    // Example: 365 day cache, serving files from the server resource path '/images' on the web as '/static_images'
    bootstrap.addBundle(new CacheableAssetsBundle(365, "/images", "/static_images"));