lib/seo_cache/middleware.rb in seo_cache-0.4.0 vs lib/seo_cache/middleware.rb in seo_cache-0.5.0
- old
+ new
@@ -81,9 +81,11 @@
blacklisted_url || blacklisted_referer
end
return false if blacklisted_url
+ SeoCache.log('force cache : ' + request.path) if Rack::Utils.parse_query(request.query_string).has_key?(SeoCache.force_cache_url_param) && SeoCache.log_missed_cache
+
return is_requesting_prerendered_page
end
def get_prerendered_page_response(env)
url = URI.parse(build_api_url(env))