Review rule order

If your Cloudlet has rules with hostname, path, and protocol matches, review the rule order. To improve performance, group rules with these match types in this order:

  1. Protocol (HTTP/HTTPS)

  2. Hostname

  3. Path

To learn how to reorder your rule(s), see Manage Cloudlet Rules. Below are some examples of ordering rules for protocol, hostname and path match types.

Single match regrouping example: protocol

When reorganizing rules with protocol matches, group rules together by the type of protocol, either HTTP or HTTPS. Here's an example:

Original OrderOptimized Order
  1. http://url.com/a
  2. https://url.com/a
  3. http://url.com/b
  4. https://url.com/b
  5. http://url.com/c
  6. https://url.com/c
  1. http://url.com/a
  2. http://url.com/b
  3. http://url.com/c
  4. https://url.com/a
  5. https://url.com/b
  6. https://url.com/c

Multiple match regrouping example

Here's an example of how to reorder a list of rules that contain protocol, hostname, and path matches:

Original OrderOptimized Order
  1. http://prod.url.com/b
  2. https://prod.url.com/b
  3. http://prod.url.com/a
  4. https://prod.url.com/a
  5. http://beta.url.com/b
  6. https://beta.url.com/b
  7. http://beta.url.com/a
  8. https://beta.url.com/a
  1. http://beta.url.com/a
  2. http://beta.url.com/b
  3. http://prod.url.com/a
  4. http://prod.url.com/b
  5. https://beta.url.com/a
  6. https://beta.url.com/b
  7. https://prod.url.com/a
  8. https://prod.url.com/b