X Xon Well-known member Feb 11, 2015 #1 XenForo_CssOutput::renderCss always builds it's cache id even if the cache object doesn't exist. This prevents easily changing the caching behaviour without either re-implementing the entire method or paying for an extra sha1() call.
XenForo_CssOutput::renderCss always builds it's cache id even if the cache object doesn't exist. This prevents easily changing the caching behaviour without either re-implementing the entire method or paying for an extra sha1() call.
Mike XenForo developer Staff member Feb 13, 2015 #2 A single sha1 call is really not the level of optimization that we would be focusing on -- you're looking at it costing 0.000001 seconds.
A single sha1 call is really not the level of optimization that we would be focusing on -- you're looking at it costing 0.000001 seconds.