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

Disable Cookie Help Page 1.0

No permission to download

Chris D

XenForo developer
Staff member
#3
Nice work, speedy gonzales. This adds 2 db queries to my help index page though, can this be avoided?
EDIT: Ok I was surprised by this...

My code contains references to two phrases:

cookie_usage
this_page_explains_how_this_site_uses_cookies

And that's even though technically those phrases are both being removed from the template, it has to query the database to find out what their contents should be.

Right now I do not have a better solution, but this is indeed a solution:

Go to Admin CP > Appearance > Search Phrase > Phrase Name: (as above) > Check "Cache this phrase globally"

Do that for each phrase. As they are globally cached, the database doesn't need to be queried for them.