aboutsummaryrefslogtreecommitdiffstats
path: root/config/environment.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-03-09 11:48:38 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-03-13 13:55:47 +0000
commit76de470b1424be57934e58275a6116afb8eb9b3c (patch)
tree6ed9df78a8acac8278776c831ae6eb08383d935c /config/environment.rb
parent17373088052029db46f6f8a6243901e442f6015c (diff)
first stab at sending PURGE requests to upstream varnish for request pages. Next step: making it asynchronous, e.g. with a queue of things to purge via a cron job.
Diffstat (limited to 'config/environment.rb')
-rw-r--r--config/environment.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb
index f2164f1c8..ed4ceb542 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -149,6 +149,7 @@ require 'i18n_fixes.rb'
require 'rack_quote_monkeypatch.rb'
require 'world_foi_websites.rb'
require 'alaveteli_external_command.rb'
+require 'varnish_purge.rb'
ExceptionNotification::Notifier.sender_address = MySociety::Config::get('EXCEPTION_NOTIFICATIONS_FROM')
ExceptionNotification::Notifier.exception_recipients = MySociety::Config::get('EXCEPTION_NOTIFICATIONS_TO')