diff --git a/10/umbraco-cms/fundamentals/setup/install/unattended-install.md b/10/umbraco-cms/fundamentals/setup/install/unattended-install.md index e4ed18fe95a..db425796b00 100644 --- a/10/umbraco-cms/fundamentals/setup/install/unattended-install.md +++ b/10/umbraco-cms/fundamentals/setup/install/unattended-install.md @@ -47,7 +47,7 @@ It is recommended that you make use of the values shown below for the `Cache`, ` ```json { "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.SQLite" } } diff --git a/10/umbraco-cms/reference/configuration/connectionstringssettings.md b/10/umbraco-cms/reference/configuration/connectionstringssettings.md index 4632f8dfd8d..c9c3d635592 100644 --- a/10/umbraco-cms/reference/configuration/connectionstringssettings.md +++ b/10/umbraco-cms/reference/configuration/connectionstringssettings.md @@ -12,14 +12,14 @@ An connection strings config can look like this: ```json { "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.SQLite" } } ``` {% hint style="info" %} -We recommend using private cache for SQLite. You can read more on why shared cache is discouraged in [the official SQLite documentation](https://sqlite.org/sharedcache.html). +We recommend using shared cache for SQLite when using Umbraco, as it provides better performance and consistency when multiple connections may access the database simultaneously. {% endhint %} The connection string used here is an SQLite connection string, that will connect to a data in the file `Umbraco.sqlite.db` located in `/umbraco/Data` . diff --git a/10/umbraco-commerce/how-to-guides/configure-sqlite-support.md b/10/umbraco-commerce/how-to-guides/configure-sqlite-support.md index b6e08d28d0c..407829fc7c1 100644 --- a/10/umbraco-commerce/how-to-guides/configure-sqlite-support.md +++ b/10/umbraco-commerce/how-to-guides/configure-sqlite-support.md @@ -34,9 +34,9 @@ After configuring Umbraco CMS with SQLite, Umbraco Commerce will automatically u { ... "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.SQLite", - "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Private", + "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Shared", "umbracoCommerceDbDSN_ProviderName": "Microsoft.Data.SQLite" }, ... diff --git a/13/umbraco-cms/fundamentals/setup/install/unattended-install.md b/13/umbraco-cms/fundamentals/setup/install/unattended-install.md index 7b27503dea9..a3db27e4c71 100644 --- a/13/umbraco-cms/fundamentals/setup/install/unattended-install.md +++ b/13/umbraco-cms/fundamentals/setup/install/unattended-install.md @@ -47,7 +47,7 @@ It is recommended that you make use of the values shown below for the `Cache`, ` ```json { "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.SQLite" } } diff --git a/13/umbraco-cms/reference/configuration/connectionstringssettings.md b/13/umbraco-cms/reference/configuration/connectionstringssettings.md index 792f85bc48b..8d97b52438b 100644 --- a/13/umbraco-cms/reference/configuration/connectionstringssettings.md +++ b/13/umbraco-cms/reference/configuration/connectionstringssettings.md @@ -11,14 +11,14 @@ An connection strings config can look like this: ```json { "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.SQLite" } } ``` {% hint style="info" %} -We recommend using private cache for SQLite. You can read more on why shared cache is discouraged in [the official SQLite documentation](https://sqlite.org/sharedcache.html). +We recommend using shared cache for SQLite when using Umbraco, as it provides better performance and consistency when multiple connections may access the database simultaneously. {% endhint %} The connection string used here is an SQLite connection string, that will connect to a data in the file `Umbraco.sqlite.db` located in `/umbraco/Data` . diff --git a/13/umbraco-commerce/how-to-guides/configure-sqlite-support.md b/13/umbraco-commerce/how-to-guides/configure-sqlite-support.md index b6e08d28d0c..407829fc7c1 100644 --- a/13/umbraco-commerce/how-to-guides/configure-sqlite-support.md +++ b/13/umbraco-commerce/how-to-guides/configure-sqlite-support.md @@ -34,9 +34,9 @@ After configuring Umbraco CMS with SQLite, Umbraco Commerce will automatically u { ... "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.SQLite", - "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Private", + "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Shared", "umbracoCommerceDbDSN_ProviderName": "Microsoft.Data.SQLite" }, ... diff --git a/15/umbraco-cms/fundamentals/setup/install/unattended-install.md b/15/umbraco-cms/fundamentals/setup/install/unattended-install.md index 0be7a2e91bc..cc61a929a49 100644 --- a/15/umbraco-cms/fundamentals/setup/install/unattended-install.md +++ b/15/umbraco-cms/fundamentals/setup/install/unattended-install.md @@ -47,7 +47,7 @@ It is recommended that you make use of the values shown below for the `Cache`, ` ```json { "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.Sqlite" } } diff --git a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index 34eb878e5cf..16508b8151a 100644 --- a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -262,9 +262,9 @@ The deprecated version, `Microsoft.Data.SQlite`, has been removed and will requi { ... "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.Sqlite", - "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Private", + "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Shared", "umbracoCommerceDbDSN_ProviderName": "Microsoft.Data.Sqlite" }, ... diff --git a/15/umbraco-cms/reference/configuration/connectionstringssettings.md b/15/umbraco-cms/reference/configuration/connectionstringssettings.md index 62070ee48f9..cf0ff57fc35 100644 --- a/15/umbraco-cms/reference/configuration/connectionstringssettings.md +++ b/15/umbraco-cms/reference/configuration/connectionstringssettings.md @@ -11,14 +11,14 @@ The connection strings config can look like this: ```json { "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.Sqlite" } } ``` {% hint style="info" %} -We recommend using private cache for SQLite. You can read more on why shared cache is discouraged in [the official SQLite documentation](https://sqlite.org/sharedcache.html). +We recommend using shared cache for SQLite when using Umbraco, as it provides better performance and consistency when multiple connections may access the database simultaneously. {% endhint %} The connection string used here is an SQLite connection string, that will connect to a data in the file `Umbraco.sqlite.db` located in `/umbraco/Data` . diff --git a/15/umbraco-commerce/how-to-guides/configure-sqlite-support.md b/15/umbraco-commerce/how-to-guides/configure-sqlite-support.md index 2fbaf3a6b1c..a3745875f97 100644 --- a/15/umbraco-commerce/how-to-guides/configure-sqlite-support.md +++ b/15/umbraco-commerce/how-to-guides/configure-sqlite-support.md @@ -34,9 +34,9 @@ After configuring Umbraco CMS with SQLite, Umbraco Commerce will automatically u { ... "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.Sqlite", - "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Private", + "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Shared", "umbracoCommerceDbDSN_ProviderName": "Microsoft.Data.Sqlite" }, ... diff --git a/16/umbraco-cms/fundamentals/setup/install/unattended-install.md b/16/umbraco-cms/fundamentals/setup/install/unattended-install.md index 0be7a2e91bc..cc61a929a49 100644 --- a/16/umbraco-cms/fundamentals/setup/install/unattended-install.md +++ b/16/umbraco-cms/fundamentals/setup/install/unattended-install.md @@ -47,7 +47,7 @@ It is recommended that you make use of the values shown below for the `Cache`, ` ```json { "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.Sqlite" } } diff --git a/16/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/16/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index 809f0b16a0b..58bb067e180 100644 --- a/16/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/16/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -301,9 +301,9 @@ The deprecated version, `Microsoft.Data.SQlite`, has been removed and will requi { ... "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.Sqlite", - "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Private", + "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Shared", "umbracoCommerceDbDSN_ProviderName": "Microsoft.Data.Sqlite" }, ... diff --git a/16/umbraco-cms/reference/configuration/connectionstringssettings.md b/16/umbraco-cms/reference/configuration/connectionstringssettings.md index 62070ee48f9..cf0ff57fc35 100644 --- a/16/umbraco-cms/reference/configuration/connectionstringssettings.md +++ b/16/umbraco-cms/reference/configuration/connectionstringssettings.md @@ -11,14 +11,14 @@ The connection strings config can look like this: ```json { "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.Sqlite" } } ``` {% hint style="info" %} -We recommend using private cache for SQLite. You can read more on why shared cache is discouraged in [the official SQLite documentation](https://sqlite.org/sharedcache.html). +We recommend using shared cache for SQLite when using Umbraco, as it provides better performance and consistency when multiple connections may access the database simultaneously. {% endhint %} The connection string used here is an SQLite connection string, that will connect to a data in the file `Umbraco.sqlite.db` located in `/umbraco/Data` . diff --git a/16/umbraco-commerce/how-to-guides/configure-sqlite-support.md b/16/umbraco-commerce/how-to-guides/configure-sqlite-support.md index 2fbaf3a6b1c..a3745875f97 100644 --- a/16/umbraco-commerce/how-to-guides/configure-sqlite-support.md +++ b/16/umbraco-commerce/how-to-guides/configure-sqlite-support.md @@ -34,9 +34,9 @@ After configuring Umbraco CMS with SQLite, Umbraco Commerce will automatically u { ... "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Private;Foreign Keys=True;Pooling=True", + "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", "umbracoDbDSN_ProviderName": "Microsoft.Data.Sqlite", - "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Private", + "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Shared", "umbracoCommerceDbDSN_ProviderName": "Microsoft.Data.Sqlite" }, ...