mongrel_page_cache_handler 1.6.4 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ class ActionController::Base
8
8
  def set_mongrel_page_cache_header
9
9
  if request.get?
10
10
  # puts "Setting mongrel page cache header for: #{params[:controller]}/#{params[:action]}"
11
- response.headers['mongrel_cache_me'] = !@ignore_page_caching
11
+ response.headers['mongrel_cache_me'] = true
12
12
  else
13
13
  # puts "Won't set mongrel page cache header because the request was not a GET."
14
14
  end
@@ -2,4 +2,4 @@
2
2
  gem_name: mongrel_page_cache_handler
3
3
  package: mongrel_page_cache_handler
4
4
  project: magrathea
5
- version: 1.6.4
5
+ version: 1.6.5
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: mongrel_page_cache_handler
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.6.4
6
+ version: 1.6.5
7
7
  date: 2008-01-08 00:00:00 -05:00
8
8
  summary: mongrel_page_cache_handler
9
9
  require_paths: