app/controllers/alchemy/pages_controller.rb
# We only render the page if either the cache is disabled for this page
# or the cache is stale, because it's been republished by the user.
#
We only render the page if either the cache is disabled for this page
or the cache is stale, because it's been republished by the user.
We only render the page if either the cache is disabled for this page or the cache is stale because it ' s been republished by the user .
def render_fresh_page?
      must_not_cache? || stale?(etag: page_etag,
        last_modified: @page.published_at,
        public: !@page.restricted,
        template: 'pages/show')
    end
def render_fresh_page? must_not_cache? || stale? ( etag : page_etag , last_modified : @page . published_at , public : ! @page . restricted , template : 'pages/show' ) end
We only render the page if either the cache is disabled for this page
or the cache is stale, because it's been republished by the user.
We only render the page if either the cache is disabled for this page or the cache is stale because it ' s been republished by the user .