y.handler: |
      Proc.new do |env|
        headers = {}
        if /\.(css|js)\z/.match(env[&quot;PATH_INFO&quot;])
          headers[&quot;cache-control&quot;] = &quot;max-age=86400&quot;
        end
        [399, headers, []]
      end
    file.dir: /path/to/doc-root
</code></pre>
</div>


<p>
Or in the example below, the handler triggers <a href="configure/http2_directives.html#server-push">HTTP/2 server push</a> with the use of <code>Link: rel=preload</code> headers, and then requests a FastCGI applic