Skip to content

Commit

Permalink
Added 'b64' indicator to cache file name
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Sep 28, 2014
1 parent 2584169 commit 443de5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Wpup/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function getMetadata() {
*/
public static function fromArchive($filename, $slug = null, Wpup_Cache $cache = null) {
$modified = filemtime($filename);
$cacheKey = 'metadata-' . $slug . '-' . md5($filename . '|' . filesize($filename) . '|' . $modified);
$cacheKey = 'metadata-b64-' . $slug . '-' . md5($filename . '|' . filesize($filename) . '|' . $modified);
$metadata = null;

//Try the cache first.
Expand Down

0 comments on commit 443de5c

Please sign in to comment.