From 4caf2441d616a8b48d3013c70c8d2747b20cf33d Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 29 Mar 2014 22:45:36 -0700 Subject: [PATCH] Fixed a typo issue --- gui/slick/interfaces/default/config_general.tmpl | 2 +- lib/cachecontrol/controller.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gui/slick/interfaces/default/config_general.tmpl b/gui/slick/interfaces/default/config_general.tmpl index b5db2aef..6619f8b2 100644 --- a/gui/slick/interfaces/default/config_general.tmpl +++ b/gui/slick/interfaces/default/config_general.tmpl @@ -190,7 +190,7 @@

Advanced setting

-

Here you need to know what are you doing!!!

+

You need to know what you are doing here!!!

diff --git a/lib/cachecontrol/controller.py b/lib/cachecontrol/controller.py index ca9f8be0..e0b2bf54 100644 --- a/lib/cachecontrol/controller.py +++ b/lib/cachecontrol/controller.py @@ -218,6 +218,8 @@ class CacheController(object): headers = {'Expires': expires} resp.headers.update(headers) + self.cache.set(cache_url, resp) + # Add to the cache if the response headers demand it. If there # is no date header then we can't do anything about expiring # the cache.