Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
re-enabled caching of apit responses.
Browse files Browse the repository at this point in the history
  • Loading branch information
ingowachsmuth-sparheld committed Dec 1, 2015
1 parent a4c17ba commit 687136d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/DDG/Spice/Coupons.pm
Expand Up @@ -18,6 +18,7 @@ secondary_example_queries "gutschein h&m";

# Caching - no. the api result is dependent on the locale and the caching is not.
spice is_cached => 0;
spice proxy_cache_valid => "200 2h"; # max 2 hours to keep the number of expired coupons as low as possible

spice wrap_jsonp_callback => 1; # sparheld.de et al only support json and xml, so wrap in callback

Expand Down

0 comments on commit 687136d

Please sign in to comment.