Charlie Bowman
2006-May-17 18:56 UTC
[Rails] rails will page cache all actions but one....why?
I have page caching turned on for all actions in my controller (pragmatic is it''s name). Rails will cache each actions except for one. I''ll list the three ways this action can be called. It is only cached one of the ways. Can somebody help? http://www.recentrambles.com/pragmatic/index - This will not cache httphttp://www.recentrambles.com/pragmatic This will not caches http://www.recentrambles.com/ This will cache All three point to the index action of my pragmatic controller. Here is my relevant routes map.connect ''/pragmatic'', :controller => "pragmatic" map.connect '''', :controller => "pragmatic" I''m running off the rails trunk. Charlie Bowman http://www.recentrambles.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060517/86ad2b71/attachment.html
Charlie Bowman
2006-May-18 12:30 UTC
[Rails] rails will page cache all actions but one....why?
Anyone? I''m really struggling on how to accomplish this. On Wed, 2006-05-17 at 14:55 -0400, Charlie Bowman wrote:> I have page caching turned on for all actions in my controller > (pragmatic is it''s name). Rails will cache each actions except for > one. > I''ll list the three ways this action can be called. It is only cached > one of the ways. Can somebody help? > > http://www.recentrambles.com/pragmatic/index - This will not cache > httphttp://www.recentrambles.com/pragmatic This will not caches > http://www.recentrambles.com/ This will cache > > All three point to the index action of my pragmatic controller. Here > is my relevant routes > > map.connect ''/pragmatic'', :controller => "pragmatic" > map.connect '''', :controller => "pragmatic" > > I''m running off the rails trunk. > > Charlie Bowman > http://www.recentrambles.com > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/a2dad78c/attachment.html