Akamai acquires LayerX, delivering end-to-end security and real-time AI usage control to any browser. Get details
Background

Your Website Now Has Two Audiences: Humans and AI

August 17, 2026 by Matt Butcher

Share

Key takeaways

Modern sites must serve human visitors (who require visual, fast, interactive experiences) and AI crawlers (that require clean, structured data without client-side JavaScript execution).

Failing to provide parseable data to AI bots means being left out of AI-generated search recommendations.

However, solving bot routing, pre-rendering, and cache freshness at the application origin increases server load, latency, and operational overhead.

Using Akamai Functions alongside Akamai Bot Manager enables sites to detect visitors at the network edge, instantly serving human-ready pages or AI-optimized content without sacrificing speed or origin resources.

Your website now has two audiences.

The first audience is the one you originally built your site for: humans with browsers. The second one is new and is growing in importance and in numbers: AI agents and crawlers

Both of these audiences are important, but they need very different things.

  • Humans need a fast, polished experience. They judge the page in a few seconds on layout, usability, images, and how quickly the page responds.

  • AI agents, on the other hand, don’t care about visual layout. They want structured data, fresh content, and a clean response they can easily parse.

Earlier in this blog post series, we argued that a good portion of application logic belongs at the front door; that is, at the edge of the network every request already crosses. Serving two different website audiences is a perfect test for this argument. 

With Akamai Functions at that front door, paired with Bot Manager’s classification and other Akamai services, you can recognize which audience each request comes from and give that audience exactly what it needs — all without sacrificing response time, forking your origin, or maintaining a second rendering pipeline.

Your website needs to serve humans and AI

Today, a website must serve both humans and AI. Unfortunately, you can't effectively serve both audiences with the same response.

  • If you optimize for humans, the AI crawlers get markup they can't easily use.

  • If you optimize for AI, your human pages carry weight that slows them down.

Both of these audiences are important. Humans still search for websites, they still visit pages, and they still make purchases and sign up for products. Giving human visitors a great experience through layout, images, and interactivity is important. And Core Web Vitals still drive rankings and conversion.

But a growing share of discovery now happens using AI. In 2024, Gartner projected that traditional search engine volume would drop 25% by 2026 as users move to AI assistants. Adobe measured traffic to U.S. retail sites from generative AI sources jumped 1,200% from July 2024 to February 2025. And Akamai measured a 300% surge in AI bot activity in 2025 alone.

When a user asks an AI assistant which product to buy or which article to read, the AI answers by using both its training data and its web crawler. Both of these sources rely on your site being easy for AI to parse. AI crawlers need your data to be easily parseable and structured. If AI can't parse your site, it can't recommend you.

Typically, teams solve this problem at the origin. They detect bots in their application code, deploy a prerender service that runs a headless browser to generate crawler-friendly pages, and maintain separate feeds or API endpoints for the machine traffic. 

This entire process is centralized. Every bot request rides the full way to your infrastructure, the rendering farm is yours to scale and pay for, and the detection logic is owned by your application team.

Create a response tailored to each audience

There is a better process. By using Akamai Functions as the glue that connects services such as Bot Manager, you can create a response tailored to each audience, right at the edge, without sending every request to the origin. You can make both your human and AI audiences happy.

Three use cases for Akamai Functions in today’s AI crawler era 

Optimizing your site for AI crawlers while maintaining a fast, seamless experience for human visitors requires a shift in architecture. The following three scenarios illustrate how edge functions solve common bottlenecks in content rendering, caching, and performance: 

  1. Your site uses a JavaScript framework meant for humans

  2. AI crawlers cause frequent trips to the origin for updated content

  3. You have dynamic pages that must be fast for both humans and crawlers

Your site uses a JavaScript framework meant for humans

Many websites are built using a client-side rendered JavaScript framework meant to serve humans. When queried, the server sends back a skeleton: a nearly empty HTML document plus script tags. A browser downloads those scripts and executes them. Then, the browser builds the page, fetches the product data, and writes the prices and descriptions into the document. The full content of the page only appears after the client-side code runs.

 

The traditional setup

That works fine for humans, but most AI crawlers never see the full content because they don't execute JavaScript. Independent testing of the major crawlers finds that GPTBot, ClaudeBot, and most of their peers read only the raw HTML. What these bots get from the product page is the skeleton itself: an empty content div and a list of script tags.

As a result, the page ranks well in classic search, but AI assistants either skip the site or fill the gap from somewhere else, resulting in users getting incorrect answers.

 

The Akamai Functions solution

With Akamai Functions as the glue, this process looks different.

First, Bot Manager identifies the AI crawler at the edge. The request then routes to a function that takes Bot Manager's classification, pulls the product data, coordinates the structuring on Akamai Cloud, and caches the machine-ready response at the edge so the next crawl is a cache hit.

Classify, render, and cache all happen in one pass. The data is rendered into clean HTML with schema.org markup or plain markdown — the navigation, scripts, and styling that only matter to a human is removed. The bots are happy: Their version of the page is derived from the same source as the human page, but is in the format they need; i.e., generated and cached at the edge rather than maintained as a second site.

The human visitors never see any of this process. Their page appears just as they need it, unchanged (Figure 1).

The human visitors never see any of this process. Their page appears just as they need it, unchanged (Figure 1).
Fig. 1: With Bot Manager and Akamai Functions, requests are classified as human or AI at the front door, and each audience is served the right content
The human visitors never see any of this process. Their page appears just as they need it, unchanged (Figure 1).

AI crawlers cause frequent trips to the origin for updated content

AI crawlers frequently revisit sites to retrieve updated dynamic information, including prices, product availability, and recent content updates.

 

The traditional setup

Traditionally, sites have relied on caching, which has always been a trade-off between freshness and speed. AI traffic makes the trade-off even more pronounced. Teams often try to tune this balance with the cache time to live (TTL) setting. But if they set the TTL too long, the AI assistants serve last week's price. If they set TTL too short, every crawler revisit becomes an origin hit, which is paid for in load, egress, and latency (multiplied across every AI crawler). 

Neither answer is ideal.

 

The Akamai Functions solution                                                                  

That trade-off can be removed by using Akamai Functions to assemble the response. The fields that change often live in the key-value (KV) store, replicated across Akamai Cloud regions.

When a price changes, a commerce or content system writes the change once, and it propagates to every region. The function reads those fields fresh on every request (a small hop, since the KV store lives in the same Akamai Cloud region as the function). As a result, fields that change often (price, stock level, headline) are served fresh, while fields that don’t change come from the edge cache.

The function becomes the glue between the KV store's live fields and the cached page, assembling one AI-ready response from both. The frequent crawler gets near real-time data on every request, with no per-crawl trip to the origin. The origin writes a change once and serves the occasional cache refill; it stops paying for every re-crawl (Figure 2).

The origin writes a change once and serves the occasional cache refill; it stops paying for every re-crawl (Figure 2).
Fig. 2: Akamai Functions merges live KV data with cached content, so AI crawlers get fresh data without hitting the origin
The origin writes a change once and serves the occasional cache refill; it stops paying for every re-crawl (Figure 2).

You have dynamic pages that must be fast for both humans and crawlers

Both of your audiences, humans and AI, need dynamic pages to be fast. These pages — a personalized landing page, an inventory-aware product page, and a campaign page assembled per visitor, for example — are the pages most likely to convert a human and most likely to be quoted by an AI assistant. 

They are also typically the slowest pages you serve.

 

The traditional setup

In a centralized architecture, personalization, inventory checks, and content assembly require round trips to a central origin region, adding 50 to 100 milliseconds per hop. Combining multiple requests increases page rendering time by 250 milliseconds or more for both humans and AI crawlers. As a result, Core Web Vitals slip, and search rankings, paid search quality scores, and conversions suffer. 

AI crawlers rarely wait or retry, so a slow response can mean that the page gets skipped altogether.

 

The Akamai Functions solution

With Akamai Functions, the logic all runs closer to the user. The function looks up the visitor's segment in the KV store, calls the recommendation model running on GPUs in Akamai Cloud, checks inventory, and assembles the page — all without leaving Akamai's network.

Akamai's benchmarks put the typical personalization round trip at 200 milliseconds in a centralized setup; moving it to the edge can cut that to just 40 milliseconds, with inference costs falling by up to 86%. Using Akamai Functions accelerates page rendering, improves Core Web Vitals, optimizes organic search rankings, lowers paid search costs, increases conversions, and delivers fast responses to AI crawlers (Figure 3).

Using Akamai Functions accelerates page rendering, improves Core Web Vitals, optimizes organic search rankings, lowers paid search costs, increases conversions, and delivers fast responses to AI crawlers (Figure 3).
Fig. 3: Three serial round trips with centralized personalization (~200 ms) vs. one pass at the front door with Akamai Functions (~40 ms)
Using Akamai Functions accelerates page rendering, improves Core Web Vitals, optimizes organic search rankings, lowers paid search costs, increases conversions, and delivers fast responses to AI crawlers (Figure 3).

Serve both audiences from the front door

Your site has always served humans. Now it also needs to serve AI agents. But this change doesn’t have to mean serving a separate site for machines, and it doesn't have to mean slowing down your human pages.

Instead, you can recognize each audience as it arrives, let Akamai Functions handle the rendering, freshness, and speed for both audiences. You can keep both humans and AI happy.

Akamai Functions: A smarter, more connected edge

Ready to see what your front door could be doing? View the Functions Quick Start Guide or contact our team today.

About the Author(s)

Matt Butcher headshot

Matt Butcher

Matt Butcher is Vice President of Product Management at Akamai and a pioneering open source contributor. He has helped create projects including Helm, Spin, SpinKube, CNAB, Krustlet, Brigade, and the Open Application Model, and has contributed to more than 200 open source projects.