Bjarke Berg
8acf7e147e
Changes to GetReducedEventList ( #11444 )
...
* Instead of only using first event, we combine events of same type into a single event with multiple arguments
* Added generic method to DRY up grouping logic.
* Renamed method to better reflect new functionality.
Co-authored-by: Andy Butland <abutland73@gmail.com >
2021-10-22 09:58:47 +02:00
Andy Butland
348d1676cd
Handle only single content type event to avoid reloading the content and media cache multiple times after a deployment containing more than one changed document type.
2021-06-15 16:06:11 +02:00
Andy Butland
71a1817a06
Fixed issue with data types not being cleared in cache refresh operations.
2021-05-21 14:26:33 +02:00
Mole
d8d4be9e8e
Backport cache key fix and optimizations ( #10199 )
...
* Add GetKey<T, TId>
* Update Usages of GetKey and remove GetKey<T>(object)
We shouldn't have to retain this since RepositoryCacheKeys is internal.
* Apply changes to DefaultRepositoryCachePolicy
* Add check for default/less than -1 on UserRepository PerformGet
Co-authored-by: Nikolaj <nel@umbraco.dk >
2021-05-03 10:22:42 +02:00
Elitsa Marinovska
8e14543616
Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB10632-recycle-bin-smells-caching
2021-04-15 09:02:53 +02:00
Elitsa Marinovska
2534f99cdb
Adding new RecycleBin event handlers
2021-04-14 16:55:37 +02:00
Elitsa Marinovska
d2a26bf4da
Caching RecycleBinSmells
2021-03-25 11:49:38 +01:00
Chad
b8540ca128
Improve speed and reduce allocations by implementing logger overloads to avoid params [] allocation ( #8917 )
...
* Implement logger overloads to avoid params [] allocation
* Implement console logger ILogger
* Call correct signature
* Fix exceptions
* Introduce ILogger2
* fix logger reference
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au >
2021-02-22 08:22:49 +10:00
Shannon Deminick
64117921ea
Fixes: After deleting a member, a reindex is attempted, which fails ( #9807 )
...
(cherry picked from commit fa49d6ed10 )
2021-02-21 12:04:42 +01:00
Shannon Deminick
fa49d6ed10
Fixes: After deleting a member, a reindex is attempted, which fails ( #9807 )
2021-02-21 12:03:28 +01:00
Bjarke Berg
4aff5d38f8
Merge pull request #9778 from umbraco/v8/bugfix/broken-user-permissions-caches
...
Fixes issue with broken caches used for user permissions
2021-02-16 13:41:29 +01:00
Shannon
3b3d55ca26
Fixes issue with broken caches used for user permissions
...
Calculating start nodes is expensive and this is supposed to be cached but the cache was not working.
2021-02-09 13:43:28 +11:00
Chad
0bd4dced0b
Improve performance and reduce memory use and reduce array allocations by reusing char[] ( #9166 )
...
* Reduce array allocations by reusing char[]
* don't hide .Equals()
* Reduce memory use by reducing array allocations
* Revert "Reduce memory use by reducing array allocations"
This reverts commit faf6b60234167f5443435243eb52187ab07d514c.
* reuse char[] for string.split() to avoid params [] allocation
2021-01-22 12:02:25 +10:00
Sebastiaan Janssen
d6275f34f7
Merge branch 'v8/8.6' into v8/dev
...
# Conflicts:
# src/Umbraco.Web/Security/MembershipHelper.cs
2020-09-23 11:09:40 +02:00
Shannon
8b82f8e1c7
Ensures that the member resolved when setting last login date has the right data applied, finishes an outstanding TODO that will massively boost performance for sites that heavily use members (lots of logins)
2020-07-31 00:19:36 +10:00
abi
a7ad464b40
Remove Empty Statements
2020-02-12 15:11:18 +01:00
Warren Buckley
ad53b76308
Merge branch 'v8/8.5' into v8/dev
...
# Conflicts:
# src/SolutionInfo.cs
2020-01-03 11:59:05 +00:00
Paul Seal
fa26e2ee02
removed unused _domainService
2019-12-18 14:39:53 +01:00
Claus
b17326c9c0
Marking default json ctor for serialization.
2019-12-03 14:28:53 +01:00
Shannon
2ec5a8101a
fixes binary breaking change introduced
2019-12-02 17:15:47 +11:00
Steve Megson
8463f1db08
Cache lookup of macro by alias
2019-10-29 21:34:25 +01:00
Warren Buckley
38b96beb0d
Merge branch 'v8/dev' into v8/bug/6663-lang-variant-deletion
...
# Conflicts:
# src/Umbraco.Web/Cache/LanguageCacheRefresher.cs
2019-10-29 09:16:52 +00:00
Shannon
00b5f59bce
simplifies lang refresher a bit
2019-10-14 22:09:47 +11:00
Shannon
9008641965
ensures the domain cache is totally refreshed when changing langs
2019-10-14 22:02:42 +11:00
Shannon
ae0ad2b897
Updates UI to allow updating a culture for a language and warn the user if they are changing it, updates the controller to be able to udpate a culture on a lang
2019-10-14 19:04:51 +11:00
Shannon
348afd3d0a
updates logic for cache refreshers for languages to deal with updating nucache and examine
2019-10-14 15:21:00 +11:00
elitsa
175253a1a6
Clear Cache and remove mculture from the url if the last non-default language is deleted
2019-10-11 15:40:55 +02:00
Shannon
35a7283952
Fixes #2997 - ContentService returns outdated result
2019-09-27 10:59:29 +02:00
Shannon
c27e876c75
Removes BackgroundPublishedSnapshotNotifier
2019-09-16 17:40:48 +10:00
Shannon
2b9ab0a38a
Merge branch 'v8/bugfix/background-pure-live-rebuild-AB1833' into v8/bugfix/AB2684-purelive-model-regen
...
# Conflicts:
# src/Umbraco.Web/Cache/ContentTypeCacheRefresher.cs
# src/Umbraco.Web/Cache/DataTypeCacheRefresher.cs
2019-09-16 17:38:10 +10:00
Shannon
00c720413a
Uses reflection to call ResetModels to flag MB to recompile.
2019-09-16 17:23:00 +10:00
Shannon
47d3af9bb3
removes the test suspendable model factory code
2019-09-16 16:59:57 +10:00
Shannon
fc821000f3
Adds ext methods for creating a flag to indicate model recompilation should occur
2019-09-16 14:50:05 +10:00
Shannon
5898b64174
disable force rebuilding pure live models on schema changes
2019-09-16 14:24:25 +10:00
Shannon
c7c2f64b62
removes comments
2019-09-12 23:15:03 +10:00
Shannon
596c745a19
Uses an event on UmbracoContext for when the snapshot is created so we can block until the background notifier is completed
2019-09-10 13:35:59 +10:00
Shannon
296afb18a4
Renames and puts in temp fix to try to find out why we are binding to old models
2019-09-10 11:50:09 +10:00
Shannon
fdad387414
renames objects/methods and adds a lock to the routing mechanism
2019-09-09 23:32:02 +10:00
Shannon
8fef824dc1
Moves rebuilding models and cache to background thread
2019-09-09 23:32:02 +10:00
Kenn Jacobsen
7e1f90fb3b
Clear the content type "common" cache when deleting templates
2019-08-09 16:54:52 +02:00
Shannon
7cc91f71c2
Fixes pure live mode when changing doc types
2019-07-03 18:11:00 +10:00
Shannon
cd6ef35bf9
comments out the fix during investigation - adds some notes
2019-07-03 15:17:51 +10:00
Bjarke Berg
96d5bdd7b2
https://github.com/umbraco/Umbraco-CMS/issues/5671 - If modelsbuilder is in live mode, we need to clear cache for all document types when at least one is cleared. This is due to modelsbuilder updating all the models to different versions.
2019-07-02 15:26:54 +02:00
Shannon
2870ce5e0a
a perf change that in ContentCacheRefresher it doesn't iterate payloads if there is no real Id
2019-06-21 15:48:10 +10:00
Stephan
4e87dd389d
Refactor Content/Media/Member type repositories
2019-03-19 16:28:50 +01:00
Stephan
31b293aa4d
Fix distributed cache handler for medias ( #4751 )
2019-03-04 16:39:34 +01:00
Stephan
aa86dfa956
Bugfix exception during install, live models collision
2019-02-22 19:13:48 +01:00
Stephan
ad62983327
Introduce ILivePublishedModelFactory
2019-02-21 19:15:35 +01:00
Shannon
6f7e1cac3e
Merge branch 'temp8' into temp8-contexts
2019-02-15 12:55:17 +11:00
Stephan
186e8fc58b
Introduce IUmbracoContextFactory
2019-02-14 12:11:06 +01:00