summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing/DE
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Routing/DE')
-rw-r--r--lib/Travel/Routing/DE/DBRIS.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Routing/DE/DBRIS.pm b/lib/Travel/Routing/DE/DBRIS.pm
index 1e76b03..7b26587 100644
--- a/lib/Travel/Routing/DE/DBRIS.pm
+++ b/lib/Travel/Routing/DE/DBRIS.pm
@@ -204,7 +204,7 @@ sub post_with_cache {
}
if ($cache) {
- my $content = $cache->thaw($url);
+ my $content = $cache->thaw("$url $req");
if ($content) {
if ( $self->{developer_mode} ) {
say ' cache hit';
@@ -232,7 +232,7 @@ sub post_with_cache {
my $content = $reply->content;
if ($cache) {
- $cache->freeze( $url, \$content );
+ $cache->freeze( "$url $req", \$content );
}
return ( $content, undef );