search for: time_to_l

Displaying 4 results from an estimated 4 matches for "time_to_l".

Did you mean: time_total
2006 Jan 23
2
Action Cache upgrade plugin
...gment_key = Proc.new {|controller| "AC:#{controller.request.host_with_port}:#{controller.params.sort.join('' :'').gsub('' '', ''-'')}" } 6. Allow an action to specify a Time To Live for the cached item. Set ''response.time_to_live'' to the number of seconds before this cached item will be expired. If not set, the default setting of ''never'' will be used and the item will only be expired by using the regular action cache expiry mechanism. def my_action @response.tim...
2006 Mar 24
2
Expiring cached actions outside of ActionController
In the site I''m building, my models are *almost* never updated within ActionController-- all new data comes in via command line scripts manipulating ActiveRecord directly. Can anyone offer any hints about expiring cached actions without Sweeper? -Ross
2006 Jan 27
1
Caching from screen scraping
Hi all, I need to do some screen scraping from my rails app. Given an ethernet (MAC) adress, I scrape results from an internal web page that returns location and hostname. How can I cache the result from that screen scraping as to be polite to the scrapee? I would like to expire the results daily. In perl, I would use Cache::File. Can I use rails caching for this? What''s the best
2006 Sep 26
12
resource_feeder feedback
Let me apologize in advance as this is a topic that I feel passionate and opinionated about. If I''m coming on too strong, please forgive me. === Be opinionated=== My first piece of advice is simple: be opinionated. Change the method name to simply <feed_for>. Have it default to doing the right thing. Perhaps give an option to change the default feed format, but default to