title: Akamai request from Server unless ddos attack detected
body: <p>Im looking for some help and no Akamai expert. Basically Im wondering if it is possible to implement Akamai in the following scenario:
  1. Normal running request passes through akamai and only static assets such as css and js are cached, everything else is served direct from the server.
  2. DDOS attack detected: Not sure if this is possible but the idea would be if akamai has a feature or api call to check if there has been a large scale ddos attack started, if so instead of passing the request to the app servers it reverts to a fully cached version of the site until the attack finishes.
  Icing on the cake would be if we could set the threshold to what levels of attack to revert to, maybe based on a percentage over expected traffic levels?</p>
  
  <p>Appreciate any sort of guidance.</p>