UAM makes serving images horribly slow
I have been playing around with UAM a lot now, as it seems to be the only plugin around which not only is able to limit the access to posts and pages but also to files which is important if you want to have an “internal” section on your web.
I have experienced some problems with UAM regarding performance. There have been a lot of posts here regarding performance, but no real solution nor an update seems to have fixed that. I notice drastic performance impact when enabling file locking for image files.
My web site makes quite heavy use of pictures: I’ve got a slider with several images, as well as four mini-sliders, some large thumbnails and so on at the home page. All that loads fairly fast when disabling UAM completely or when I enable UAM but keep file locking disabled. On a page without pictures enabling UAM adds around 300ms to the page loading which is a lot but still OK for me, but if the page contains pictures and UAM is set to lock files, it takes forever: images appear after several seconds which is not viable.
I have worked around this issue by disabling file locking for all types of image files. That worked well since I had permalinks disabled. Now I found a solution to get UAM working with permalinks (and yes, I do want to use permalinks) under http://wordpress.org/support/topic/plugin-user-access-manager-custom-permalinks-breaks-redirect?replies=7, I am back with my original problem: images server horribly slow! As I cannot turn off file locking for some types of files only when permalinks are enabled, I can just switch file locking ON or OFF, so I can decide to have some pages and posts protected but not the documents linked in these pages (which is very bad) or to not use permalinks at all (also bad).
Have any of you found a solution to that? Is there a way to hack UAM to not lock certain file types and to serve them without checking and adding huge load times?
I am looking forward very much for some helpful replies.
- The topic ‘UAM makes serving images horribly slow’ is closed to new replies.