Bug 46590 - AC Performance Patches
Summary: AC Performance Patches
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Access Control (show other bugs)
Version: 1.2.7
Hardware: PC Mac OS X 10.4
: P2 normal
Target Milestone: 1.2.7
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-22 14:08 UTC by Thomas Comiotto
Modified: 2009-01-22 14:09 UTC (History)
0 users



Attachments
AC Performance Patches (5.23 KB, application/x-gzip)
2009-01-22 14:09 UTC, Thomas Comiotto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Comiotto 2009-01-22 14:08:33 UTC
Site area performance fixes for big publications. Also improves overal performace a bit. 

Changes: 

AccessControlSitetreeTransformer: 

 * Skip node check when access is granted to ancestor node (and inherited accreditables are used).
 * Skip documentId lookup via DocumentBuilder when using DocumentPolicyManager 
 * Removed area parameter (makes no sense: area is taken from the sitetree)


SourceCacheImpl:
 * Don't do cache validity checks for non-existent files

FileItemManager: 
 * Added single item last modified check to getItem(id). Before that we did a last modified check for all items on every getItem(id) call. E.g. for all users on getItem(userId).
Comment 1 Thomas Comiotto 2009-01-22 14:09:46 UTC
Created attachment 23162 [details]
AC Performance Patches