diff --git a/lib/locomotive/render.rb b/lib/locomotive/render.rb index fa5d9ed64d..2ca63d41af 100644 --- a/lib/locomotive/render.rb +++ b/lib/locomotive/render.rb @@ -67,11 +67,8 @@ def prepare_and_set_response(output) # Inputs which define the ETag for this response etag_inputs = { - 'page' => @page, - 'params' => { - 'page_path' => params[:page_path], - 'locale' => params[:locale] - } + 'page' => @page.cache_key, + 'locale' => params[:locale] } if @page.with_cache?