[Tickets #6222] Check view existence before image load
bugs at horde.org
bugs at horde.org
Wed Feb 6 17:20:20 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=6222
-----------------------------------------------------------------------
Ticket | 6222
Created By | Duck <duck at obala.net>
Summary | Check view existence before image load
Queue | Ansel
Type | Enhancement
State | New
Priority | 1. Low
Milestone |
Patch |
Owners |
+New Attachment | ansel-viewExists.diff
-----------------------------------------------------------------------
Duck <duck at obala.net> (2008-02-06 12:20) wrote:
Currently for every getImageUrl call, even with vfs direct, we always go to
the DB to get all image data and create an image object. This is wastfull,
as we need this only, the first time if the view does not exists. And style
data are nearly always already available, we just not passing using it. So
I add a viewExist method to just ask VFS if the view exists. With this we
remove all queries and object creations ( 9 with default prefs ), when the
views already exists. The patch even fix passing style parameter to
getImageUrl.
More information about the bugs
mailing list