Stephan
f952fe7aeb
More renaming of caches
2019-01-18 08:14:08 +01:00
Stephan
0bee01e0ee
Great AppCaches renaming
2019-01-17 11:01:23 +01:00
Stephan
67e4703821
CacheHelper becomes AppCaches
2019-01-17 08:34:29 +01:00
Shannon
61c52913dd
Fixes MediaCacheRefresher, it wasn't checking if there was an IMedia cache
2018-08-28 16:50:56 +10:00
Stephan
d7e97ac771
Remove unused CodeAnnotations attributes, obsolete stuff
2018-07-20 10:59:25 +02:00
Stephan
7a615133ff
Renormalize
2018-06-29 19:52:40 +02:00
Stephan
eb6a08af31
v7@11d4189c8d
2018-04-05 14:12:15 +02:00
Shannon
8f01a2ab0a
fixes merge issues
2018-03-29 22:13:41 +11:00
Shannon
881fbb7f76
Merge remote-tracking branch 'origin/dev-v7' into dev-v8
...
# Conflicts:
# build/Modules/Umbraco.Build/Umbraco.Build.psm1
# src/SolutionInfo.cs
# src/Umbraco.Core/Configuration/UmbracoVersion.cs
# src/Umbraco.Core/DatabaseContext.cs
# src/Umbraco.Core/IO/FileSystemProviderManager.cs
# src/Umbraco.Core/ObjectExtensions.cs
# src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenSevenZero/AddUserGroupTables.cs
# src/Umbraco.Core/PropertyEditors/ValueConverters/IntegerValueConverter.cs
# src/Umbraco.Core/Services/IdkMap.cs
# src/Umbraco.Core/Services/UserService.cs
# src/Umbraco.Core/packages.config
# src/Umbraco.Tests.Benchmarks/app.config
# src/Umbraco.Tests/UI/LegacyDialogTests.cs
# src/Umbraco.Web/Cache/MediaCacheRefresher.cs
# src/Umbraco.Web/Cache/UnpublishedPageCacheRefresher.cs
# src/Umbraco.Web/Features/DisabledFeatures.cs
# src/Umbraco.Web/Mvc/RenderRouteHandler.cs
# src/Umbraco.Web/Mvc/UmbracoAuthorizeAttribute.cs
# src/Umbraco.Web/PublishedCache/ContextualPublishedCache.cs
# src/Umbraco.Web/PublishedCache/ContextualPublishedContentCache.cs
# src/Umbraco.Web/PublishedCache/ContextualPublishedMediaCache.cs
# src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedContentCache.cs
# src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs
# src/Umbraco.Web/PublishedContentQuery.cs
# src/Umbraco.Web/WebApi/Filters/FeatureAuthorizeAttribute.cs
# src/Umbraco.Web/packages.config
# src/Umbraco.Web/umbraco.presentation/umbraco/create/MemberGroupTasks.cs
2018-03-29 20:01:14 +11:00
Stephan
cd63806895
U4-10756 - id/guid cache
2018-03-06 16:11:27 +01:00
Stephan
84f9242aa0
Persistence Shakeup
2017-12-07 16:45:25 +01:00
Stephan
ec6ba01cbf
So long Facade
2017-10-31 12:48:24 +01:00
Stephan
5ba2ffcbf3
CrLfTab
2017-09-23 10:08:18 +02:00
Stephan
1c96df83cd
Port 7.7 - WIP
2017-09-08 19:39:13 +02:00
Stephan
c76403077f
Normalize cr/lf/tab
2017-07-20 11:21:28 +02:00
Shannon
1643eec62c
Fixes cache refreshing for user groups since user cache need to be cleared for that too. Updates cache refreshers to use json.net for serializing which is way faster. adds better support for querying multiple user groups and entity ids for permissions, updates tests
2017-07-13 18:47:10 +10:00
Stephan
5897881ca8
CacheRefresherBase.This not .Instance
2017-07-11 19:21:13 +02:00
Stephan
1a435148d8
U4-10026 - inject idkmap
2017-06-20 08:55:08 +02:00
Stephan
464711d3c8
U4-10026 - use id-key map for getting by guid
2017-06-16 14:09:20 +02:00
Stephan
7ea9c9c8e2
Move Web.Current to Composing
2017-05-30 18:13:11 +02:00
Stephan
0597eea72b
Resvolution - Components, Runtime & Booting
2016-09-19 16:33:43 +02:00
Stephan
06574b8b40
U4-8447 - prepare for NuCache (work-in-progress)
2016-05-26 17:12:04 +02:00
Shannon
7fb1b4fb3b
Updates all cache refreshers to use ctor injection, no more applicationcontext singleton usages
2016-05-18 18:44:08 +02:00
Shannon
39c39879f9
Moves IPackageAction to _Legacy Core for now
2016-03-17 16:05:56 +01:00
Shannon
ff829d49a3
Updates all cache refreshers to reference the IsolatedRuntimeCache where required, refactors how IsolatedRuntimeCache is exposed on the CacheHelper, ensures that IsolatedRuntimeCache is used in all repositories instead of the global RuntimeCache, changes all obsolete usages of CacheHelper to the non obsolete equivalent, obsoletes many of the cache keys, obsoletes a couple cache refreshers that aren't used anymore in 7.3, simplifies CacheHelper with regards to it's 'disabled' cache state.
2016-01-06 18:08:14 +01:00
Jeavon Leopold
6c416009d7
Make DeserializeFromJsonPayload in MediaCacheRefresher and associated sub classes public so that it's possible to easily retrieve the data in custom code
2015-08-13 13:52:21 +01:00
Stephan
012c3289cd
U4-6675 - in-memory temp media cache
2015-06-22 15:50:22 +02:00
Shannon
64cbeb4c9d
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/Services/EntityService.cs
src/Umbraco.Core/Services/ServiceContext.cs
src/Umbraco.Web/Cache/DataTypeCacheRefresher.cs
src/Umbraco.Web/Cache/TemplateCacheRefresher.cs
src/umbraco.cms/businesslogic/template/Template.cs
2015-05-13 12:20:43 +10:00
Shannon
ad8926668e
Fixes: U4-6588 UmbracoSettings Error404 support Guids and Xpath - To achieve this, had to create an Id -> Key and Key -> Id method on EntityService including a cache for it which means updating all relavent cache refreshers to clear this cache when things are removed. Moved the logic for parsing an Umbraco XPath query (with tokens) to a stand-alone testable class (though haven't written tests), move the logic for looking up a not found page to the NotFoundHandlerHelper (instead of legacy 'library'). Fixes the $root query, since I don't think that ever worked. I've tested $root now for both MNTP and for the not found handler and it works.
2015-05-12 12:39:46 +10:00
Shannon
d5c8430cd2
Removes all IRepositoryCacheProvider's, we are just using a single cache construct to which is much easier to manage.
2015-01-13 13:33:39 +11:00
Shannon
e3acdbe85b
Fixes up dictionary and language repositories to have underlying simple get repositories since they support getting by id, unique id and string variations but we want to have native repository enabled caching for these items so these get methods now use private repositories based on these keys. Adds more tests, removes N+1 queries for languages and dictionary items. Removes RuntimeCacheProvider, we only want one type of cache, this simplifies things a lot.
2015-01-13 13:25:36 +11:00
Shannon
937e840104
Fixes: U4-4873 RuntimeCacheRefresher does not remove items when media or content requires cache refreshing & U4-4871 Synced media indexes between load balanced servers do not sync all properties
2014-05-13 10:40:56 +10:00
Shannon
021cac9ca5
Fixes: U4-4746 Examine does not index updated paths/levels for moved/trashed media, U4-4744 Examine events do not listen for recycle bin emptying
2014-04-23 20:19:36 +10:00
Shannon
c309e18f13
Fixes: U4-459 Public Access permissions not set on distributed servers
2014-03-27 16:11:34 +11:00
Shannon
d0cc93d6a2
Fixes: U4-3937 Ensure media is indexed across all servers in LB environment with Distributed Cache calls
...
This fix is for media indexes to be distributed properly and for unpublished content to be distributed properly, now to get members to do the same.
2014-03-06 17:50:08 +11:00
Shannon
d20ea58467
Fixes: U4-3193 Partial view cache needs to invalidate based on cache refreshers
2013-10-18 16:13:41 +11:00
Shannon Deminick
e97a01c75c
Fixes: #U4-1992 - Creates DictionaryCacheRefresher to ensure that all cache associated with the dictionary is updated amongst all
...
servers when it is changed/removed. Removes RemoveByJson as we only actually require RefreshByJson since we can put any sort of parameters
in a custom json string including whether it is a remove operation (if required)
2013-03-23 01:59:25 +06:00
Shannon Deminick
5f242aa3f6
Converts the media cache refresher to be a json cache refresher since it was impossible before to have media cache
...
cleared when media was deleted. Created base classes for cache refreshers, we now have a new event - CacheUpdated
which can now be used by code to execute on each individual server when any cache refresher is updated. Listening to events
normally only fire on the individual server so if people are wanting to refresh their own cache there was previously no way
to do that.
2013-03-21 22:53:58 +06:00
Shannon Deminick
e3a8b4ac78
Moves some legacy classes into LegacyClasses.cs and un-seals some refreshers with comments to support legacy classes.
2013-03-18 21:18:22 +06:00
Shannon Deminick
f993e96547
Seals a bunch of classes that need to be
2013-03-16 09:03:26 +06:00
Shannon Deminick
2dea4a1d70
updates more cache handling, fixes syntax error in examineindex.release.config, fixes the DefaultServerMessenger ctor
...
to be lazy since the db context isn't initialized yet (will speed up start a bit too), ensures that the macro/xslt caching
clearing is only done on the single server instead or re-posing another distributed call.
2013-03-16 01:37:05 +06:00
Shannon Deminick
860c8c1002
Fixes: #U4-482, #U4-549. Macro cache streamlining - ensures it is cleared based on event handling instead of inline everywhere
...
in code. Unit tests for CacheHelper, unit tests for umbraco.macro, updates to
ObjectExtensions.TryConvertTo + unit tests, enhanced disposable method of ApplicationContext.
2013-03-12 22:58:21 +04:00
Shannon Deminick
8d2e466e34
Changes MediaCacheRefresher to be ICacheRefresher<T> and updates MacroCacheRefresher to use correct
...
macro object.
2013-03-12 03:11:35 +04:00
Shannon Deminick
ec46d65bb4
Streamlines how macro cache is handled
2013-03-12 03:00:42 +04:00
Shannon Deminick
c0b708b1f4
Streamlines how Media cache gets invalidated - ensures Save() is called on media where it was needed,
...
cache now gets invalidated on events.
2013-02-07 05:53:59 +06:00