Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion caching issue
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
badnaam  
View profile  
 More options Sep 1 2010, 12:36 pm
From: badnaam <asitkmis...@gmail.com>
Date: Wed, 1 Sep 2010 09:36:17 -0700 (PDT)
Local: Wed, Sep 1 2010 12:36 pm
Subject: Re: caching issue
Folks any thoughts on this?

On Aug 31, 10:47 am, badnaam <asitkmis...@gmail.com> wrote:

> I have not turned on page caching, as far as I can tell. Here is my
> development.rb file. I don't see this issue with webrick(at port
> 3000), only with passenger at port 80.

> I am not sure how I can find out if I cam caching to local process
> memory, I have not deliberately set anytinig like that.

> # Settings specified here will take precedence over those in config/
> environment.rb

> # In the development environment your application's code is reloaded
> on
> # every request.  This slows down response time but is perfect for
> development
> # since you don't have to restart the webserver when you make code
> changes.
> config.cache_classes = false

> # Log error messages when you accidentally call methods on nil.
> config.whiny_nils = true

> # Show full error reports and disable caching
> config.action_controller.consider_all_requests_local = true
> config.action_view.debug_rjs                         = true
> config.action_controller.perform_caching             = false

> config.action_mailer.raise_delivery_errors = true
> config.action_mailer.delivery_method = :smtp
> config.action_mailer.perform_deliveries = true
> config.action_mailer.default_url_options = {:host =>
> "localhost", :port => "3000"}
> config.action_mailer.default_charset = "utf-8"
> config.cache_store = :mem_cache_store
> config.gem "rails-footnotes"
> config.action_controller.page_cache_directory = RAILS_ROOT + "/public/
> cache/"
> #if defined?(Footnotes)
> #    Footnotes::Filter.prefix = 'editor://open?url=file://%s&amp;line=
> %d&amp;column=%d'
> #end

> On Aug 31, 3:31 am, Hongli Lai <hon...@phusion.nl> wrote:

> > On Tue, Aug 31, 2010 at 11:55 AM, Anuj Dutta <dutta.a...@googlemail.com> wrote:
> > > Hello,
> > > Let me rephrase this:
> > > You are experiencing caching issues with webrick? How is it related to
> > > Passenger?

> > I've never experienced any kinds of caching issues in Phusion Passenger.

> > Maybe you're caching to local process memory? If so then you might be
> > seeing stale cache entries when a request is routed to a different
> > process. Use a shared cache instead like memcached.

> > --
> > Phusion | The Computer Science Company

> > Web:http://www.phusion.nl/
> > E-mail: i...@phusion.nl
> > Chamber of commerce no: 08173483 (The Netherlands)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.