Bot detection using ratecounter
Rate counters are normally used for detecting high volume DoS-style attacks, but you can also use them to measure lower rates, to ensure that navigation between pages is happening at human speed.
VCL
Use this solution in your VCL service (click RUN below to test this solution or clone it to make changes):