TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 05:47:29 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 325
  • Total: 326
  • @rjen

Store pre-includes in php array instead of in database

Started by forumside, June 06, 2016, 10:22:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

forumside

I think it will be better to store TP integrate_pre_include all include files list not in smf settings table, but in simple php array. So server will do less mysql queries and fetching all settings query will take less memory.

illori

why should we stop using SMF's hook system? this is why it was made.

forumside

Ok, I understand SMF did their hooks for easy integration of various mods and bridges.
But in some cases it is too general and not always optimal way.
So I think it this specific point it will be much better to do it different way.

illori

well at this time there are no plans to change from how they are done.