<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>acts_as_cached Google Group</title>
  <link>http://groups.google.com/group/acts_as_cached</link>
  <description>A discussion group for the acts_as_cached Rails plugin. memcached and related topics abound.</description>
  <language>en</language>
  <item>
  <title>Re: Failing specs on Rails 2.1</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/116aa16ef57ac41c/fad303bcbe647b95?show_docid=fad303bcbe647b95</link>
  <description>
  my fragment caching also broke when i upgraded to rails 2.1. rather &lt;br&gt; than debug it, i actually switched over to using the fragment caching &lt;br&gt; that is built into rails. 2.1 has improved caching a lot so that for &lt;br&gt; fragment caching it basically serves the same as cache_fu. there is &lt;br&gt; one patch here that did not make it into 2.1 - this patch allows
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/116aa16ef57ac41c/fad303bcbe647b95?show_docid=fad303bcbe647b95</guid>
  <author>
  n...@wundrbar.com
  (ngrandy)
  </author>
  <pubDate>Mon, 30 Jun 2008 18:47:57 UT
</pubDate>
  </item>
  <item>
  <title>Failing specs on Rails 2.1</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/116aa16ef57ac41c/e315dc82205f1d95?show_docid=e315dc82205f1d95</link>
  <description>
  I was about to bring some of my patches up to current code and I am &lt;br&gt; getting a lot of failing specs. Are these failing for everyone or just &lt;br&gt; me? &lt;br&gt; I have the latest version of gem Rails and cache_fu from github. &lt;br&gt; 17 tests, 2 assertions, 1 failures, 16 errors &lt;br&gt; It looks like some 2.1 cache changes, here are the two distinct errors:
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/116aa16ef57ac41c/e315dc82205f1d95?show_docid=e315dc82205f1d95</guid>
  <author>
  elijah.mil...@gmail.com
  (Eli Miller)
  </author>
  <pubDate>Mon, 30 Jun 2008 01:45:46 UT
</pubDate>
  </item>
  <item>
  <title>Re: [acts_as_cached] after_save :expire_cache pattern can lock up your database transaction</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/8b5ff69cb7905242/e84b9079ebe9e5d3?show_docid=e84b9079ebe9e5d3</link>
  <description>
  I&#39;ve been using after_commit successfully on my project for a long &lt;br&gt; while now. Do a google search or check the mailing list archives. It &lt;br&gt; has some faults I&#39;ve been meaning to address, such as: &lt;br&gt; 1. it always runs, even if the save fails &lt;br&gt; Easy optimization. &lt;br&gt; 2. it can still run inside of another user-called transaction.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/8b5ff69cb7905242/e84b9079ebe9e5d3?show_docid=e84b9079ebe9e5d3</guid>
  <author>
  elijah.mil...@gmail.com
  (Eli Miller)
  </author>
  <pubDate>Mon, 30 Jun 2008 01:39:46 UT
</pubDate>
  </item>
  <item>
  <title>Re: Equivalent of reset_cache for fragments?</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/a6b70d76bd77a48e/96bc00af7e49d885?show_docid=96bc00af7e49d885</link>
  <description>
  Have you found any good approaches to this? &lt;br&gt; &lt;p&gt;I was thinking of implementing something in fragment_cache.rb that is &lt;br&gt; similar to what I did for regular cache sets/gets: &amp;lt;http:// &lt;br&gt; groups.google.com/group/acts_a s_cached/browse_thread/thread/ &lt;br&gt; fc81947e9e0eb0c3&amp;gt;. &lt;br&gt; &lt;p&gt;That is, if a cached fragment is close to expiring, set a sentinel for
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/a6b70d76bd77a48e/96bc00af7e49d885?show_docid=96bc00af7e49d885</guid>
  <author>
  lee.fy...@gmail.com
  (Lee Fyock)
  </author>
  <pubDate>Fri, 27 Jun 2008 18:11:52 UT
</pubDate>
  </item>
  <item>
  <title>Re: after_save :expire_cache pattern can lock up your database transaction</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/8b5ff69cb7905242/99492a27cde2ba15?show_docid=99492a27cde2ba15</link>
  <description>
  Our memcache servers are on the same backplane as the application and &lt;br&gt; database servers, so I&#39;ve never run into a situation where the &lt;br&gt; connection to memcache takes a while. &lt;br&gt; &lt;p&gt;I do like the idea of after_commit, though. We use acts_as_solr, and &lt;br&gt; it occasionally puts something into the solr index that doesn&#39;t
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/8b5ff69cb7905242/99492a27cde2ba15?show_docid=99492a27cde2ba15</guid>
  <author>
  lee.fy...@gmail.com
  (Lee Fyock)
  </author>
  <pubDate>Fri, 27 Jun 2008 18:03:33 UT
</pubDate>
  </item>
  <item>
  <title>after_save :expire_cache pattern can lock up your database transaction</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/8b5ff69cb7905242/32ba920c0a2ad91b?show_docid=32ba920c0a2ad91b</link>
  <description>
  Hey all, &lt;br&gt; This is somewhat of a question and a warning. &lt;br&gt; &lt;p&gt;So I have some seemingly innocuous cache_fu code, like so &lt;br&gt; &lt;p&gt;class Business &lt;br&gt; acts_as_cached :include =&amp;gt; :reviews &lt;br&gt; &lt;p&gt; after_save :expire_cache &lt;br&gt; end &lt;br&gt; &lt;p&gt;Seems sane, but it has caused us some major headaches. &lt;br&gt; &lt;p&gt;So ActiveRecord wraps destructive database actions in a transaction.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/8b5ff69cb7905242/32ba920c0a2ad91b?show_docid=32ba920c0a2ad91b</guid>
  <author>
  bke...@gmail.com
  (Brandon Keene)
  </author>
  <pubDate>Sun, 22 Jun 2008 04:45:06 UT
</pubDate>
  </item>
  <item>
  <title>Re: [acts_as_cached] Re: Conditional action-caching stops after a period of time</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/eff6287664362f66/0deab559dfbc7dce?show_docid=0deab559dfbc7dce</link>
  <description>
  I was in the middle of a site launch and this came up - Jan fortunately &lt;br&gt; helped me and it worked and I haven&#39;t had time to revisit it - I had meant &lt;br&gt; to post that back to the list a month ago. &lt;br&gt; == &lt;br&gt; doug
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/eff6287664362f66/0deab559dfbc7dce?show_docid=0deab559dfbc7dce</guid>
  <author>
  doug.sparl...@gmail.com
  (Doug Sparling)
  </author>
  <pubDate>Thu, 12 Jun 2008 19:15:42 UT
</pubDate>
  </item>
  <item>
  <title>Re: [acts_as_cached] Re: Conditional action-caching stops after a period of time</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/eff6287664362f66/bdb67e97aabb183a?show_docid=bdb67e97aabb183a</link>
  <description>
  Yeah, this is one way to do it. Might be better than my solution. &lt;br&gt; Basically, he was trying to keep the app from writing out the current &lt;br&gt; rendered view to the cache if the conditional was false. Deleting it &lt;br&gt; from @actions did it, but it also deleted it for any future calls (the &lt;br&gt; filter is instantiated once and kept around rather than being created
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/eff6287664362f66/bdb67e97aabb183a?show_docid=bdb67e97aabb183a</guid>
  <author>
  codesu...@gmail.com
  (Sujal Shah)
  </author>
  <pubDate>Thu, 12 Jun 2008 17:43:18 UT
</pubDate>
  </item>
  <item>
  <title>Re: Conditional action-caching stops after a period of time</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/eff6287664362f66/452f631579f33df9?show_docid=452f631579f33df9</link>
  <description>
  Sujal, &lt;br&gt; &lt;p&gt;It is indeed something with that line you posted. I contacted the &lt;br&gt; author of the original post (Jan Prill) and he sent me his patch, &lt;br&gt; which I&#39;ve been meaning to post here. I had to modify it slightly for &lt;br&gt; Rails 2 and I&#39;m glad to say that cache_fu has been working great ever &lt;br&gt; since. &lt;br&gt; &lt;p&gt;/vendor/plugins/cache_fu/lib/a cts_as_cached/fragment_cache.r b
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/eff6287664362f66/452f631579f33df9?show_docid=452f631579f33df9</guid>
  <author>
  doug.sparl...@gmail.com
  (dsparling)
  </author>
  <pubDate>Thu, 12 Jun 2008 15:08:42 UT
</pubDate>
  </item>
  <item>
  <title>Re: [acts_as_cached] Re: Conditional action-caching stops after a period of time</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/eff6287664362f66/3ee0c8f2c746c550?show_docid=3ee0c8f2c746c550</link>
  <description>
  spariam, &lt;br&gt; I think you&#39;re running into the issue I just described in my previous &lt;br&gt; email to the list. I figured out what the line I asked about is for, &lt;br&gt; and I&#39;m working out a patch now. Hopefully, this will solve your &lt;br&gt; problem, too. &lt;br&gt; Sujal
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/eff6287664362f66/3ee0c8f2c746c550?show_docid=3ee0c8f2c746c550</guid>
  <author>
  codesu...@gmail.com
  (Sujal Shah)
  </author>
  <pubDate>Wed, 11 Jun 2008 02:29:08 UT
</pubDate>
  </item>
  <item>
  <title>Fragment Cache conditionals</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/23bb5ef5839a4ad2/60af2db676c431a8?show_docid=60af2db676c431a8</link>
  <description>
  I&#39;m confused by a line in the fragment_cache.rb code and was hoping &lt;br&gt; someone could shed some light on it for me. &lt;br&gt; Line 74 in fragment_cache.rb reads like so: &lt;br&gt; @actions.delete(controller.act ion_name.intern) if conditional == false &lt;br&gt; I don&#39;t really get what that&#39;s trying to do. As far as I can tell, &lt;br&gt; and this is showing up in my testing, this code ends up causing the
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/23bb5ef5839a4ad2/60af2db676c431a8?show_docid=60af2db676c431a8</guid>
  <author>
  codesu...@gmail.com
  (Sujal Shah)
  </author>
  <pubDate>Wed, 11 Jun 2008 02:09:41 UT
</pubDate>
  </item>
  <item>
  <title>Equivalent of reset_cache for fragments?</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/a6b70d76bd77a48e/16112a49ce8e1265?show_docid=16112a49ce8e1265</link>
  <description>
  I&#39;m putting in some fragment caching and implemented some sweepers to &lt;br&gt; expire the fragments. So far, so good. But I&#39;d really like to freshen &lt;br&gt; up the cached fragments without them every going stale and being &lt;br&gt; cached by users. &lt;br&gt; &lt;p&gt;I was thinking of having a background queue that basically does a curl &lt;br&gt; with a flag that skips the cache get and performs the cache write. Is
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/a6b70d76bd77a48e/16112a49ce8e1265?show_docid=16112a49ce8e1265</guid>
  <author>
  l...@lukemelia.com
  (Luke Melia)
  </author>
  <pubDate>Tue, 03 Jun 2008 08:10:42 UT
</pubDate>
  </item>
  <item>
  <title>Associations</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/305b270744b06d9b/7f9f32c0e831f61b?show_docid=7f9f32c0e831f61b</link>
  <description>
  cache_fu&#39;s capabilities with Ar associations are not clear to me. &lt;br&gt; &lt;p&gt;Adding acts_as_cached :include =&amp;gt; :association_name to a model appears &lt;br&gt; to do nothing, or maybe it&#39;s just not what I expect. Here are my &lt;br&gt; models. &lt;br&gt; &lt;p&gt;class Channel &amp;lt; ActiveRecord::Base &lt;br&gt; has_many :media_mounts &lt;br&gt; &lt;p&gt; after_save :reset_cache
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/305b270744b06d9b/7f9f32c0e831f61b?show_docid=7f9f32c0e831f61b</guid>
  <author>
  brandon.ca...@gmail.com
  (Brandon)
  </author>
  <pubDate>Sat, 31 May 2008 22:06:02 UT
</pubDate>
  </item>
  <item>
  <title>Caching has_many :through And Eviction</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/42f549f26ec3eacb/64d940fcc5d617f2?show_docid=64d940fcc5d617f2</link>
  <description>
  Hi-- &lt;br&gt; &lt;p&gt;I have a question that&#39;s probably been asked and answered, but Google &lt;br&gt; (the source of all knowledge :) hasn&#39;t turned up anything I feel &lt;br&gt; confident with. I have a hm:t relationship and am concerned that the &lt;br&gt; join table could be cached, but objects in the joined table could be &lt;br&gt; evicted: &lt;br&gt; &lt;p&gt;This site is searched often, and many searches are identical. The
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/42f549f26ec3eacb/64d940fcc5d617f2?show_docid=64d940fcc5d617f2</guid>
  <author>
  cwdi...@gmail.com
  (s.ross)
  </author>
  <pubDate>Tue, 27 May 2008 21:13:21 UT
</pubDate>
  </item>
  <item>
  <title>fragment caching</title>
  <link>http://groups.google.com/group/acts_as_cached/browse_thread/thread/b2a99aa6350a8f08/84504941f763b79b?show_docid=84504941f763b79b</link>
  <description>
  I&#39;m using cache_fu for session, custom finders and fragment caching. &lt;br&gt; The first two work as expected, but all the fragment caching happens &lt;br&gt; via filesystem (the default Rails way). &lt;br&gt; &lt;p&gt;I have something like this in my views: &lt;br&gt; &amp;lt;% cache( &amp;quot;/users/#{if logged_in? then current_user.id else &#39;false&#39; &lt;br&gt; end}/show/home_greet&amp;quot;, { :ttl =&amp;gt; 1.hour }) do %&amp;gt; some html
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/acts_as_cached/browse_thread/thread/b2a99aa6350a8f08/84504941f763b79b?show_docid=84504941f763b79b</guid>
  <author>
  wojtek.ogrodowc...@gmail.com
  (Wojtek Ogrodowczyk)
  </author>
  <pubDate>Fri, 23 May 2008 11:19:04 UT
</pubDate>
  </item>
  </channel>
</rss>
