Implement Rate Limiting in Ruby on Rails

Rate limiting is a common technique used to control the rate of incoming requests to a web application and prevent abuse or overload. Learn how to implement rate limiting in a Ruby on Rails application using middleware and Redis.

May 2, 2024 · 8 min · 1684 words · Bá Tới

Middleware in Rails: A Comprehensive Guide

Middleware in Rails is a powerful feature that allows you to intercept and modify HTTP requests and responses. Learn how to use middleware in Rails to add custom functionality, enhance performance, and improve security in your web applications.

March 25, 2024 · 4 min · 644 words · Bá Tới

Page caching - Implementing Page Caching in a Rails Application with Redis

Page caching is a vital strategy to enhance the performance and responsiveness of web applications by serving cached HTML pages directly to users. In this blog post, we’ll explore how to implement page caching in a Rails application using Rails middleware and Redis as the caching backend.

August 6, 2021 · 4 min · 829 words · Bá Tới