News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

PHP5 Opcache, what to blacklist?

Started by Phobos Dthorga, May 02, 2016, 05:53:08 AM

Previous topic - Next topic

Phobos Dthorga

Hello! I will be launching a Google Adwords campaign for my discussion forum sometime soon once more tutorials are posted, and as such I would like to use PHP5 Opcaching for a number of reasons. I'm not sure what I should blacklist from being cached though with regard to SMF, so would any of the more experienced users here be able to chime in, please? I would be immensely appreciative of any help. I did find a thread at [ 1 ] that relates to my topic but it isn't of any help to what I currently need.

[ 1 ] - http://www.simplemachines.org/community/index.php?topic=509966.0

Arantor

You shouldn't have to blacklist anything in 2.0.11, as 2.0.7 and 2.0.8 fixed the issues present in SMF for PHP 5.5.

Though I'd also disable the "template evaluation" step in the admin panel to make better use of the opcache.

Phobos Dthorga

Thank you, Arantor, and I know exactly where that setting is :) I also did hear elsewhere the same thing about disabling template evaluation in opcaching settings for better performance.

Arantor

Yup, because the eval step explicitly isn't cached in the opcache.

Advertisement: