getdave / wp-intervention

On-demand image manipulation for WordPress via the Intervention Library.
26 stars 7 forks source link

Update cache file hash function #1

Closed getdave closed 7 years ago

getdave commented 7 years ago

$serialize = $file_pathinfo['filename'] . '-' . crc32( serialize( $args ) );

crc32 is faster than hash so update to use that when creating unique file names

getdave commented 7 years ago

Complete