Cannot cache JS content in HAProxy

My bad… I put the configuration in the backend section instead of the frontend. Moving it to the correct place made it successfully work.