17 Feb '12, 9pm

@jcoglan Our caching "system" is this method: + AR#cache_key + AR#touch.

This helper exposes a method for caching fragments of a view rather than an entire action or page. This technique is useful caching pieces like menus, lists of newstopics, static HTML fragments, and so on. This method takes a block that contains the content you wish to cache. See ActionController::Caching::Fragments for usage instructions. Examples If you want to cache a navigation menu, you can do following: <% cache do %> <%= render :partial => "menu" %> <% end %> You can also cache static content: <% cache do %> <p>Hello users! Welcome to our website!</p> <% end %> Static content with embedded ruby content can be cached as well: <% cache do %> Topics: <%= render :partial => "topics", :collection => @topic_list %> <i>Topics listed alphabetically</i> <% end %>

Full article: http://api.rubyonrails.org/classes/ActionView/Helpers/Cac...

Tweets

The Rhythm Method

robots.thoughtbot.com 17 Feb '12, 10pm

February 17, 2012 Tagged: Trajectory Comments (View) The Rhythm Method One of our goals for Trajectory is to provide a gui...

Episode 90: Fragment Caching (revised)

railscasts.com 19 Feb '12, 3am

#90 Fragment Caching (revised) Feb 18, 2012 | 9 minutes | Caching , Views , Performance If you need to cache a certain sec...

Vega Sport System review...from a female perspe...

ecorazzi.com 17 Feb '12, 4pm

If you’re worried you can only use the performance system with an intense workout, don’t fret. Let it be me to give you a ...

For Your Brewing Pleasure: Another Killer AeroPress Method

For Your Brewing Pleasure: Another Killer AeroP...

thecoffeeadventures.com 14 Feb '12, 6pm

This method here came from a reader of mine named Sam. Sam and I started talking through email about the AeroPress and wel...

Review: Vega Sport System from a Female Perspec...

ecorazzi.com 17 Feb '12, 4pm

If you’re worried you can only use the performance system with an intense workout, don’t fret. Let it be me to give you a ...

When Pigs Start Exploding, It's Time to Rethink Our Food System

When Pigs Start Exploding, It's Time to Rethink...

treehugger.com 17 Feb '12, 11am

From meat eating versus veganism , to high-tech megafarms versus lucrative backyard agriculture , there is much disagreeme...

Myanmar eyes skytrain and underground system for Yangon

Myanmar eyes skytrain and underground system fo...

straitstimes.com 16 Feb '12, 12pm

Aung Min, a retired general and minister for rail transportation tasked with negotiating an end to the decades-old conflic...

Best practices: Improving #embedded operating system #security: via @ee_times

Best practices: Improving #embedded operating s...

eetimes.com 16 Feb '12, 3pm

Security has quickly risen to the top of mind for embedded developers in the past year. Although the Stuxnet worm was a wa...

Episode 169: Dynamic Page Caching (revised)

railscasts.com 11 Feb '12, 7pm

#169 Dynamic Page Caching (revised) Feb 11, 2012 | 7 minutes | Caching , Performance , Ajax Page caching is great for spee...

Mazda CX-5 to debut Smart City Brake Support system

Mazda CX-5 to debut Smart City Brake Support sy...

paultan.org 15 Feb '12, 7am

The system uses a laser sensor to detect a vehicle or obstacle in front and automatically reduces the extent of the brake ...