How we improved our Rails app’s performance with Conditional Get Requests

HTTP provides a method of client-side caching known as Conditional Get Requests. This style of caching allows a client to cache the content of a response locally (in your browser cache or mobile device). When the client makes a subsequent request to your application for the same resource, it includes a token or timestamp from their previous request. Based on this token or timestamp, if your application determines that the response body would be the same as the last request, the server may respond with a short, head-only, 304 Not Modified response. This instructs the requesting client to fetch the response body from its local cache store instead.
How we improved our Rails app’s performance with Conditional Get Requests #ruby #rubydeveloper #rubyonrails #performance https://rubyonrails.ba/single/how-we-improved-our-rails-app-s-performance-with-conditional-get-requests

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles