Developers

Our Obsessive Approach to Caching

Our Obsessive Approach to Caching

Site updates appear in a flash with our cache process

Update January 2022 : Smart caching is a critical element in passing Core Web Vitals and gaining as much search traffic as possible.

When it comes to growing your site traffic and audience, we all tend to think of the same things: great content, beautiful design, fast load times, interactive experiences, etc. But one thing that often gets overlooked is the role of caching. A web cache is the temporary storage of web documents, like images, article pages, and multimedia assets, to reduce unnecessary repeat loading from a server. Any platform that doesn't focus on caching performance usually has poor uptime stats, which means that you're going to experience downtime issues.

RebelMouse obsesses over these things so that you don't have to, and that's why we're able to handle massive traffic spikes without any degradation in service. Just ask RebelMouse-powered PAPER Magazine , who recently had an article receive 20 million page views in one day (!) with no noticeable change in site performance.


The way we handle our cache process ensures that your editorial changes go live very quickly on your sites. It's just another step in our devotion to keeping our platform — and your sites — the very best in the world.

Here are three reasons why our cache approach works:

Content Delivery Network (CDN): A CDN is a group of servers spread out among many locations. We use cloud platform Fastly and caching engine Varnish to power our cache.

We have a five-minute cache time, and we're experimenting with increasing it to lifetime so that the cache never expires except when content has changed. Currently, we have an API integration with our CDN that clears the cache when a post is updated. We can also update our five-minute cache time to six-hours because we already have long TTLs for the sites we power. TTL, or Time to Live , is part of the authentication protocol that verifies a client's certificate with web servers. For caching assets, such as images or CSS, we use a one-year cache time.

Front-end Web Servers: We use Varnish servers installed on our front-end web servers that provide us with traffic-spike protection and improve our ability to serve responses to our CDN faster. For the most part, the configuration of our Varnish servers repeats what we have set up in Fastly.

Application: RebelMouse's application is tightly coupled with memcached , which is an open-source caching system designed for sites that have a lot of data. By having this paired with many of our own data structures that require heavy, CPU-bound processing, we can reduce both the cache population and prewarm time.

By keeping our caching rules so strong, we're able to maintain an incredibly stable and fast platform. It's one of the reasons we have so many amazing case studies . We're also able to avoid any penalties from social sites, like Facebook and Google, who will notice things like downtime and make your content less discoverable.

Related Articles:

What Is RebelMouse?
Request a Proposal

Where
Websites Are Built

The Fastest Sites in the World Run on RebelMouse

Let’s Chat

new!

RebelMouse Performance Monitoring

Real-Time Core Web Vitals

Get Started
DISCOVER MORE

Our Core Features

Our platform is a complete digital publishing toolbox that's built for modern-day content creators, and includes game-changing features such as our:

Why RebelMouse?

Unprecedented Scale

RebelMouse sites reach more than 120M people a month, with an always-modern solution that combines cutting-edge technology with decades of media savvy. And due to our massive scale, 1 in 3 Americans have visited a website powered by RebelMouse.

120M+ Users
550M+ Pageviews
17+ Avg. Minutes per User
6+ Avg. Pages per User

Today's Top Websites Use RebelMouse

Thanks to the tremendous scale of our network, we are able to analyze a wealth of traffic data that informs our strategies and allows us to be a true strategic partner instead of just a vendor.

What Clients Say

We’re here to help you weigh and understand every tech and strategic decision that affects your digital presence. Spend less time managing everything yourself, and more time focused on creating the quality content your users deserve.

Case Studies

A Team Built Like No Other

RebelMouse employs a unique, diverse, and decentralized team that consists of 70+ digital traffic experts across more than 25 different countries. We have no central office, and we cover every time zone to ensure that we’re able to deliver amazing results and enterprise-grade support around the clock.

Our team is well-versed in all things product, content, traffic, and revenue, and we strategically deploy ourselves to help with each element across all of our clients. We thrive on solving the complex.

Let's Chat