Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3212136
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:48:25+00:00 2026-05-17T14:48:25+00:00

I gathered from the much famed scaling rails screencasts that at some point when

  • 0

I gathered from the much famed scaling rails screencasts that at some point when your site gets big and bigger, proxy caching is the way to go. Proxy caching uses etag, among other things and since etags can be more specific and strong validator is perhaps the way to go. However, I also hear that in server farm scenarios the etag is not the right solution because it can vary across servers (How?)

This seems contradictory i.e. most likely one is implementing e-tag based proxy caching if they are running a large load balanced server farms. So if e-tag fails in this situation how do they do it? :last_modified isn’t really a great option.

In a rails app let’s say if my etags in a post index action is

:etag => "all_posts_#{Post.count}".

will this vary from server to server if it’s a load balanced server farm?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T14:48:25+00:00Added an answer on May 17, 2026 at 2:48 pm

    Usually when they talk about Etags varying across servers it’s in relation to static connect served up by Apache. By default Apache includes the file’s inode in the Etag. If the files are not on a shared resource (like a NFS exported NAS), then the file’s inode would be different on each server. Typically, the recommendation is to configure Apache like:

    FileETag MTime Size
    

    but even that has the possibility of differences if the modification time varies across the servers.

    However, for non-static content, you are generating the Etag in your code, so it would be the same across multiple servers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Web-Harvest to extract some data from a site. Site gets a POST
I'm attempting to make a program that takes the information gathered from some calculations
From reading the memory management docs in the SDK, I gathered that factory methods
At my company we store the information gathered from our site wide error template,
I am creating a table to summarize data that is gathered from about 8
I have information that was gathered from a service about TFS builds put into
This is my piece of code that i gathered from here . private unsafe
I would like some help in order to prepare my data gathered from the
I have an array of street names sorted alphabetically that I have gathered from
So I gathered from different places on the internet some code to export a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.