Cache in version 2.8

I would like to activate caching in my HAproxy 2.8.
I have a few questions about this.

  1. do I have to define what exactly should be cached or does haproxy do this automatically, i.e. that no dynamic content is cached?

  2. I have now created the following config, does it work?

cache myCache
    total-max-size 1000
    max-object-size 500000
    max-age 60      

frontend www
    bind *:80,:::80 v6only
    bind *:443,:::443 v6only ssl crt /etc/ssl/localcerts
    mode http
    use_backend my_backend

backend my_backend
    mode http
    balance leastconn
    option forwardfor
    option httpchk GET /health
    http-check expect status 200    
    http-request cache-use myCache
    http-response cache-store myCache

    server ferr 192.168.140.79:443 check ssl verify none fall 1 rise 2 inter 3s
    server ful 192.168.140.80:443 check ssl verify none  fall 1 rise 2 inter 3s

Thank you for your help or suggestions for improvement.