Resource icon

Disable Cookie Help Page 1.0

No permission to download
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.
 
Back
Top Bottom