locomotivecms/engine — Issue #313: Caching of templatized pages
Author: andreacampi
Created: 2012-03-03 18:03:02+00:00
State: open

From Locomotive::Render:

fresh_when :etag => @page, :last_modified => @page.updated_at.utc, :public => true

For templatized pages that's not enough: changes in the model won't be reflected in HTTP headers, and users will see stale content.