- enable 'Static', path => qr,/static/,;
- enable 'Log4perl', category => 'plack', conf => 'log.conf';
+ enable Header => set => ['Content-Security-Policy', CONTENT_SECURITY_POLICY];
+ enable_if { $_[0]->{PATH_INFO} =~ qr,^/static/,} Header => set => ['Cache-Control', 'public, max-age=604800'];
+ enable 'Static', path => qr,^/static/,;
+ enable 'Log4perl', category => 'plack';