let external_is_up_to_date absolute_path =
let key = "Resource: " ^ absolute_path in
let digest = Digest.file absolute_path in
let is_up_to_date =
try
let digest' = Digest_cache.get key in
digest = digest'
with Not_found ->
false
in
is_up_to_date || (Digest_cache.put key digest; false)