Add option to use content hash instead of timestamp

This way application cache fill be reloaded only if cached content changes (instead on every build).