incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske" <harry.met...@gmail.com>
Subject Re: Preferences.reloadPreferences()
Date Thu, 08 Jan 2009 17:10:18 GMT
and we probably should notice these kind of things when we run our tests,
and compare the performance results with previous results.
Which reminds me of https://issues.apache.org/jira/browse/JSPWIKI-399 , is
anyone working on that (Siegfried ?)

regards,
Harry

2009/1/8 Janne Jalkanen <Janne.Jalkanen@ecyrd.com>

> Hmhmhm...
>
> Please tell me that I'm seeing things, but are we actually reloading
> jspwiki.properties all the time?
>
> Preferences.setupPreferences() calls PropertyReader.loadWebAppProps() which
> in turns loads jspwiki.properties.  Of course, for a regular user this is
> done once per session, but for a bot which disregards cookies or for someone
> who has cookies turned off...  That can be quite a significant load, and
> certainly slows down the site experience.
>
> Is there something hidden here which I don't understand, or why can't we
> just simply clone WikiEngine.getWikiProperties()?
>
> /Janne
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message