Hi all, I'am using GUF with ZSqlMethods and found out, that every time a object is accessed the sql-method is called, which means to me that if i have many objects in my dtml-doc, then it takes a long time it is rendered. Thats why i wrote a little Product, which has a AccessRule that makes User authentication over GUF. I added a user-cache in my Product, which stores AUTHENTICATION-Strings of authenticated-users a num of secs. Is there a why to implement such a AUTHENTICATION-String cache in the GUF-Product, it brings a lot of performance, when using GUF with SQL. thanks as
On Thu, 11 Oct 2001, Andre Schubert wrote:
I'am using GUF with ZSqlMethods and found out, that every time a object is accessed the sql-method is called, [...] Is there a why to implement such a AUTHENTICATION-String cache in the GUF-Product, it brings a lot of performance, when using GUF with SQL.
Did you try using the caching built in to sql methods? Granted that doesn't address 100% of the issue, but it might address high-90s% of it. --RDM
Hi, thanks, for this hint :). It works very well for me, and make the things much faster. thanks as "R. David Murray" schrieb:
On Thu, 11 Oct 2001, Andre Schubert wrote:
I'am using GUF with ZSqlMethods and found out, that every time a object is accessed the sql-method is called, [...] Is there a why to implement such a AUTHENTICATION-String cache in the GUF-Product, it brings a lot of performance, when using GUF with SQL.
Did you try using the caching built in to sql methods? Granted that doesn't address 100% of the issue, but it might address high-90s% of it.
--RDM
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (2)
-
Andre Schubert -
R. David Murray