You would be better off posting this in area 51 or the bug tracker.
https://area51.phpbb.com/phpBB/
https://tracker.phpbb.com/secure/Dashboard.jspa
I'm not commenting on whether it can be improved or should be improved but during normal operation there is really only 2 reasons I can think of to purge the cache. You have made a template edit or you made CSS/JS edit and want to increase the asset version to force the browser to reload those files, that is not necessarily "normal" operation either.
Just a side note, if you are using OpCache purging phpBB's cache will purge OpCache so there will be short performance hit for that too.
Replace with:
https://area51.phpbb.com/phpBB/
https://tracker.phpbb.com/secure/Dashboard.jspa
I'm not commenting on whether it can be improved or should be improved but during normal operation there is really only 2 reasons I can think of to purge the cache. You have made a template edit or you made CSS/JS edit and want to increase the asset version to force the browser to reload those files, that is not necessarily "normal" operation either.
Just a side note, if you are using OpCache purging phpBB's cache will purge OpCache so there will be short performance hit for that too.
No idea if it's helpful for this specific issue but memcached can be used if you have it installed. Open config.php and find:
Another approach might be to let the SQL server cache this, by running the query preemptively when the server loads and before phpBB starts. This is a bad idea, but also is less relevant for MYSQL 8 (with MYSQL 5.6-5.7, it has a built-in memory cache that might be relevant)
Code:
$acm_type = 'phpbb\\cache\\driver\\file';
Code:
$acm_type = 'phpbb\\cache\\driver\\memcached';
Statistics: Posted by thecoalman — Sat Jul 13, 2024 8:30 pm