server: Cache a hash of each compiled module in order not to rebuild them unnecessarily