dev@javaserverfaces.java.net

Configuration for production environment

From: Martin Kočí <Martin.Koci_at_aura.cz>
Date: Thu, 26 Nov 2009 21:43:31 +0100

Hi,

profiling results show that DefaultFaceletFactory.needsToBeRefreshed()
costs some CPU time - FACELETS_REFRESH_PERIOD=-1 solves it, but
shouldn't be -1 default value if stage.equals(production)? Something
like:
if (refreshParam == null && stage == production)
  refreshPeriod = -1
else
  refreshPeriod = refreshParam

Are there other params that can differ in development and production
environment?

Thanks,

Martin Kočí