O'Reilly logo

Go Web Development Cookbook by Arpit Aggarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing caching in Beego

Caching data in a web application is sometimes necessary to avoid requesting the static data from a database or external service again and again. In this recipe, we will learn how we can implement caching in a Beego application.

Beego supports four cache providers: file, Memcache, memory, and Redis. In this recipe, we will be working with the framework default cache provider, which is a memory cache provider.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required