Import Caching
Normally, on import, uSync checks every page for any change that needs importing. While this is helpful to ensure no changed files are missed, this can slow down imports and reports on sites with a lot (10,000+) of content to search through.
To make these imports and reports go quicker, you can enable CacheImportState in the appsettings.json file.
{
"uSync" : {
"Settings": {
"CacheImportState": false
}
}
}
When you enable CacheImportState, uSync will give unchanged files an identifier. This way, if they are still unchanged during the next import or report, uSync can skip these files, saving time.
uSync will forget this identifier when anything (including doctypes, media, languages, etc) related to an item or page is changed. However, there is still a risk that files that were edited outside Umbraco will be missed by uSync.
On a forced import, this setting is bypassed and uSync will check every file.