This Is the Tech Stock I Keep Coming Back to No Matter What the Market Does

Source The Motley Fool

Key Points

  • A sharp sell-off in Cloudflare stock was driven more by AI-driven efficiency shifts than demand weakness.

  • Product expansion is pushing Cloudflare into a broader edge application and AI-agent platform.

  • The long-term hinges on whether developers adopt Cloudflare as an "edge-first" alternative to hyperscalers.

  • 10 stocks we like better than Cloudflare ›

Every investor has a name that lives on the watch list. For me, with food stocks, it's Cava. In tech, that name is Cloudflare (NYSE: NET). Cloudflare is not the most exciting artificial intelligence (AI) play, it is definitely not the cheapest infrastructure stock, and it just went through one of the worst weeks of its public life.

Yet, Cloudflare's underlying business keeps doing the kinds of things that matter over a five-to-10-year horizon, which is why it keeps drawing me back.

Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »

A finger points up as an arrow follows it. Certain logos follow the line.

Image source: Getty Images.

A bad week that exposes the long-term setup

It's been a brutal month for Cloudflare so far. In early May, the company announced its first large-scale layoff, cutting roughly 1,100 roles. CEO Matthew Prince attributed the decision to efficiency gains from AI, even as the company posted record revenue and beat both top- and bottom-line estimates for the first quarter. The market response was harsh -- shares fell more than 20% on the news.

That kind of dislocation is uncomfortable, but it is also informative. The layoff was not driven by demand collapse. It was driven by the company believing its own AI thesis enough to act on it in its own cost structure. Whether the market eventually agrees is a separate question.

The more interesting part of the Cloudflare story is what it spent the spring shipping. Throughout Agents Week 2026, the company rolled out an extensive list of products aimed at making it the default infrastructure for AI agents, including Workers AI updates and a new inference platform that lets developers package and serve their own models.

The pitch here is straightforward: If agents are going to become a meaningful share of internet traffic, they will need a fast, distributed compute layer to run on. Cloudflare has spent more than a decade building exactly that layer for human traffic.

This is the angle that keeps the stock interesting to me beyond any quarterly print. Most security comparisons miss the point that the company is increasingly an application platform. Workers, R2 object storage, D1 database, and Workers AI now form a stack that competes more with hyperscalers than with traditional content-delivery providers.

Cloudflare's risks have always been there

Cloudflare has never been cheap on traditional valuation metrics, and the recent layoff debate showed how quickly sentiment can flip when growth even decelerates modestly. Stock-based compensation remains high, diluting shareholders and complicating the path to generally accepted accounting principles (GAAP) profitability. The agentic AI thesis is also unproven at scale. It is plausible, but it is not guaranteed.

There is also a competitive concern worth naming. Amazon Web Services, Microsoft Azure, and Alphabet's Google Cloud are all racing to own the agent runtime layer. Cloudflare's bet is that developers will choose a global, lightweight, edge-first platform over larger, more centralized clouds. That bet may take years to settle, though.

A useful question for any long-term holding is whether the company's product roadmap is widening or narrowing the moat. With Cloudflare, the products shipped over the last 12 months have meaningfully expanded what a developer can do on the platform without leaving it. Layer in a record-revenue quarter, a workforce restructuring that should improve operating leverage, and a credible AI-agent narrative, and the long-term shape of the business looks better than the stock chart suggests.

Stocks that look the most attractive on a chart are rarely the ones you build long-term conviction around. Cloudflare trades expensively, gets punished hard on any wobble, and keeps building out exactly the kind of platform that compounds quietly.

That being said, I don't see the stock going much lower with all they have going on. If you can handle volatility and are willing to stay patient through the ups and downs, this is a stock I'd keep on my radar whenever the market offers a cheaper entry point.

Should you buy stock in Cloudflare right now?

Before you buy stock in Cloudflare, consider this:

The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Cloudflare wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $469,293!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,381,332!*

Now, it’s worth noting Stock Advisor’s total average return is 993% — a market-crushing outperformance compared to 207% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of May 16, 2026.

Micah Zimmerman has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Alphabet, Amazon, Cava Group, Cloudflare, and Microsoft. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Financial Markets 2026: Volatility Catalysts in Gold, Silver, Oil, and Blue-Chip Stocks—A CFD Trader's OutlookGet a comprehensive financial market 2026 outlook exploring key economic drivers, volatility catalysts in gold, oil and stocks, and what the evolving economic outlook means for cfd trading strategies and risk management on global markets.
Author  Rachel Weiss
Yesterday 11: 37
Get a comprehensive financial market 2026 outlook exploring key economic drivers, volatility catalysts in gold, oil and stocks, and what the evolving economic outlook means for cfd trading strategies and risk management on global markets.
placeholder
Bitcoin Weekly Forecast: Is the month-long rally over?Bitcoin (BTC) edges slightly lower so far this week, trading at $80,800 on Friday after being rejected around the key overhead supply zone. Institutional investors also show cautious signs, with BTC spot Exchange Traded Funds (ETFs) recording an outflow of over $709 million through Thursday.
Author  Bitcoinist
Yesterday 10: 46
Bitcoin (BTC) edges slightly lower so far this week, trading at $80,800 on Friday after being rejected around the key overhead supply zone. Institutional investors also show cautious signs, with BTC spot Exchange Traded Funds (ETFs) recording an outflow of over $709 million through Thursday.
placeholder
Australian Dollar softens to near 0.7200 as Trump and Xi set for second day of talks The AUD/USD pair attracts some sellers to near 0.7205 during the early Asian trading hours on Friday. Markets remain cautious ahead of the second day meeting between US President Donald Trump and Chinese President Xi Jinping in Beijing on Friday.
Author  FXStreet
Yesterday 01: 56
The AUD/USD pair attracts some sellers to near 0.7205 during the early Asian trading hours on Friday. Markets remain cautious ahead of the second day meeting between US President Donald Trump and Chinese President Xi Jinping in Beijing on Friday.
placeholder
Gold edges higher to near $4,700 as Trump-Xi summit loomsGold price (XAU/USD) trades in positive territory near $4,700 during the early Asian session on Thursday. The precious metal edges higher as markets turn cautious ahead of the US President Donald Trump-Chinese President Xi Jinping summit in Beijing.
Author  FXStreet
May 14, Thu
Gold price (XAU/USD) trades in positive territory near $4,700 during the early Asian session on Thursday. The precious metal edges higher as markets turn cautious ahead of the US President Donald Trump-Chinese President Xi Jinping summit in Beijing.
placeholder
Inflation 'High Fever' Fails to Stop Rally? BTC Temporarily Loses 80,000 Mark, But Arthur Hayes Sees Peak of $126,000CPI data exceeding expectations triggered Bitcoin's drop below $80,000, yet the BitMEX co-founder remains firmly bullish on BTC.On May 13, Bitcoin ( BTC) prices experienced a correction f
Author  TradingKey
May 13, Wed
CPI data exceeding expectations triggered Bitcoin's drop below $80,000, yet the BitMEX co-founder remains firmly bullish on BTC.On May 13, Bitcoin ( BTC) prices experienced a correction f
goTop
quote