lib/seo_cache.rb in seo_cache-0.11.0 vs lib/seo_cache.rb in seo_cache-0.12.0

- old
+ new

@@ -3,11 +3,11 @@ require 'active_support' require 'net/http' require 'redis' require 'redis-namespace' require 'selenium/webdriver' -require 'webdrivers' +require 'webdrivers/chromedriver' require 'seo_cache/logger' require 'seo_cache/version' require 'seo_cache/middleware' @@ -56,9 +56,13 @@ mattr_accessor :prerender_url_param self.prerender_url_param = '_prerender_' mattr_accessor :force_cache_url_param self.force_cache_url_param = '_seo_cache_' + + # Time to wait to wait before page rendering (for asynchronous called), in seconds + mattr_accessor :wait_time_for_page_loading + self.wait_time_for_page_loading = nil mattr_accessor :cache_only_status self.cache_only_status = [200] mattr_accessor :extensions_to_ignore