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

Not planned Cache "Watched Threads" phrase globally...

Chris D

XenForo developer
Staff member
#2
Why should it be cached?

It doesn't really make any difference whether it's cached or not. It's only ever used in the template so it doesn't need to be globally cached. If it was used in code, then it only should be if it is commonly used, e.g. error messages in code shouldn't be cached.
 

Chris D

XenForo developer
Staff member
#4
Not by default, it doesn't.

Are you using that phrase in an add-on? Are you referencing that in PHP rather than in a template?