|
@ -28,7 +28,9 @@ module Semantic |
|
|
|
|
|
|
|
|
def render_collection(event) |
|
|
def render_collection(event) |
|
|
identifier = pathname(event.payload[:identifier]) |
|
|
identifier = pathname(event.payload[:identifier]) |
|
|
logger.debug { "Rendered collection #{identifier}" } if identifier |
|
|
|
|
|
|
|
|
count = event.payload[:count] |
|
|
|
|
|
cache_hits = event.payload[:cache_hits] || 0 |
|
|
|
|
|
logger.debug { "Rendered collection #{identifier} (#{count} times, #{cache_hits} cached)" } if identifier |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def render_layout(event) |
|
|
def render_layout(event) |
|
|