Skip navigation
All Places > In the Limelight Blog > 2016 > July

Deep Dive on Rules at the Edge

Posted by wrotch Jul 19, 2016

Limelight customers can benefit from the speed of self-service and the customized power of using rules to accomplish specialized tasks at the network edge.  


Limelight supports a large number of standard configurations for Web Site and App Acceleration content, and most times this allows customers to tailor the delivery of content to their specific needs. But sometimes, more powerful customer-specific logic is needed to be successful. At Limelight, this is accomplished via what we refer to as Rules at the Edge.


The primary benefit of using Rules at the Edge is being able to apply logic at the edge in support of a diverse set of business use cases. Rules provide an enterprise customer the ability to offload complex data manipulation or enrichment tasks to Limelight edge servers, saving them from having to do it as part of their website infrastructure.  What’s done with those rules is customer-specific.




In June, Limelight released new support for configuration of Web Site and App Acceleration services, including a feature called Rules at the Edge. Customers who use self-service configuration benefit from maintaining full control over the process and seeing their changes implemented in our global the network of edge servers in less than 30 minutes.


Rules at Edge screenshot.png


Examples of Using Rules at the Edge


If you are a web developer or are responsible for configuring your website properties, the following information should help you to understand the direct impact of Rules at the Edge. Let’s look at a few ‘real world’ examples of how our customers use rules.

  1. Doing GEO lookups and using the results: Through basic configuration and a feature we call IP Access Control, customers can whitelist or blacklist requests based on the geography of the requester. Sometimes, however, a customer wants to use the GEO information to accomplish more than simply allowing or blocking requests. This is where rules can be helpful. For example, say you had a global logistics company that had different content to display based on the country of the requester. Rather than directing the user to some landing page and requiring them to choose a country first, rules can be used to look up the country of the requester and return content specific to that country.
  2. Working with Cross Origin Resource Sharing (CORS) headers: CORS headers are used to manage and control what content can be sourced cross-origin. Rules at the edge can view the origin specified in a request and, for example, look this up dynamically against a list of ‘approved’ origins. If allowed, the response can contain an allow_origin value of that origin and if not on the approved list it can allow it but redirect the allow_origin header value to a different destination.  All of this means rules at the edge can provide custom logic run at the edge to set allow or deny values in CORS headers.
  3. Manipulating cache keys to optimize content delivery: Using rules to manipulate cache keys can reduce the number of copies of content the edge may need to hold, at the same time increasing cache efficiency, reducing storage requirements, and reducing the amount of traffic back to a customer’s origin. For example, let’s say a family of e-commerce sites are all selling the same item with associated photo and video content. Rules at the edge can be used to translate a series of requests, say for and, making these requests all point to the same single object regardless of which of many domains are requested.
  4. Setting content expiration: Sometimes rules are used to assist a customer with managing the expiration times of content. Rules can be used by the edge server to insert a content Time to Live (TTL) value for the content so that this does not have to be managed by the customer or at origin.
  5. Controlling whether or not cached content should be returned: An example of this would be using rules to override the fact that normally if cookies are associated with a request you might assume the content was dynamic and needed to come from origin. But in some cases you wish to pull the object from cache regardless of the presence of a cookie.


These are just some of the many possible uses for rules. With the use of a lightweight and efficient scripting language deployed on edge servers, many things are possible. If you think you may benefit from Rules at the Edge, or want more information on types of rules that can be created, please contact your Limelight Account Manager or Solutions Engineer.


IBC 2016: Let's Talk

Posted by nhoch Jul 19, 2016

In September, leading media companies will gather at the annual IBC show in Amsterdam. Planning on going ? If so, make sure to stop by the Limelight team in Hall 3, Stand A.23 to say hello. It's a great opportunity for Limelight customers to find out what's new from our technical experts, and to connect with our senior management team as well.  Our experts will be on-site throughout the Exhibition (9 - 13 Sept 2016) to  answer your questions about what it takes to consistently deliver your video content at broadcast quality, everywhere in the world. Whether you want to talk about OTT, customizable cloud-based workflows, multi-format delivery for any device, security, or any other video delivery topic, we'll be ready!


Haven't signed up yet? Email to book an appointment in one of our private meeting rooms at the show, or just come by at Hall 3, Stand A.23.


We look forward to seeing you!