$log->logconfess("can't find database name") unless ($database);
- my $cache_file = "$cache_path/$prefix/$database#$id";
+ my $cache_file = "$cache_path/$prefix#$id";
$cache_file =~ s#//#/#go;
open(my $fh, '>>', '/tmp/foo');
-print $fh "$cache_file\n";
+print $fh "LOAD $cache_path / $prefix # $id ==> $cache_file\n";
close($fh);
$log->debug("using cache_file $cache_file");
my $prefix = $arg->{prefix} || '';
- my $cache_file = $self->{path} . "/$prefix/$database#" . $arg->{id};
+ my $cache_file = $self->{path} . "/$prefix#" . $arg->{id};
$cache_file =~ s#//#/#go;
$log->debug("creating storable cache file $cache_file");