search for: action_cache

Displaying 7 results from an estimated 7 matches for "action_cache".

2007 Feb 01
12
RESTful Rails and other musings
Hi all, I would first like to introduce myself to the Ruby on Rails (RoR) community and to say that I hope to begin to build some relationships with other RoR developers. I''m a long time Java programmer (5+ years). Java was my first experience with Object Oriented Programming (OOP). Before Java I developed using many other languages including C, Pascal, Fortran, BASIC, Visual Basic,
2006 Jan 23
2
Action Cache upgrade plugin
This plugin is available through the Rails plugin mechanism as ''action_cache'' >From the README: === Action Cache update This is a drop in replacement for the Rails Action Cache. When this plugin is installed, the new behavior will take effect without any further configuration. All documentation for the Rails Action Cache is still relevant....
2007 Mar 22
1
doable ? action caching if anonymous, fragment caching if logged in ?
Hi All, I''d like to use different caching strategies based on the visitor status - anonymous => action caching - logged in => fragment caching Is that doable? Where should I start? TIA Alain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2006 Feb 13
3
caches_action does not go off the entire URL
I am trying to use caches_action and the agile book says that it is keyed off the URL, however it does not seem to pick up the URL parameters. http://localhost:3000/controller/action/id?foo=bar and http://localhost:3000/controller/action/id?foo=foobar Returns the same page. Anyone looked into how to add URL parameters to the cached key? Also, where do those file get stored? Thanks Dave
2012 Dec 14
1
Re: Digest for rubyonrails-core@googlegroups.com - 4 Messages in 3 Topics
...utilized? [1 Update] > • Digest for rubyonrails-core@googlegroups.com - 1 Message in 1 Topic [1 Update] >  Proposal: ActionController class methods, all procs get evaluated > • Scott Carleton <carleton.scott@gmail.com> Dec 13 09:35AM -0800   > • > • Specifically looking at action_cache in Rails.3.2 stable right now. > •   > • It currently will evaluate procs given to the layout or cache_path as can beseen here<https://github.com/rails/rails/blob/3-2-stable/actionpack/lib/action_controller/caching/actions.rb#L135>. > • > •   > • I''m working on...
2007 Feb 03
1
How can I bypass caching for some users
I have action caching setup for several actions of an application but I want the caching to only run for my administrators and have all other users see non-cached pages. Is there a way to do this? Perhaps something like passing a block to caches_action or setting some sort of flag in my authentication method? If this is not possible with action or fragment caching does anyone know of a
2006 Dec 21
6
Rails'' send_file, Mongrel, and *gasp* memory
I''ve had a right fun few days at work trying to figure out why our Rails app (which isn''t under very heavy load) kept eating memory and bringing our server to our knees. Eventually I traced it to send_file (which was in a way a relief as it wasn''t down to my coding ;) -- every time a user started downloading, the memory consumed by the app would jump, and