1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug XenForo_CssOutput::renderCss always builds it's cache id

Discussion in 'Resolved Bug Reports' started by Xon, Feb 11, 2015.

  1. Xon

    Xon Well-Known Member

    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.
     
  2. Mike

    Mike XenForo Developer Staff Member

    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.
     
    Mr. Goodie2Shoes likes this.

Share This Page