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

Recent

Welcome to TinyPortal. Please login or sign up.

December 04, 2024, 01:29:41 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,443
  • Total Topics: 21,252
  • Online today: 158
  • Online ever: 6,457 (November 30, 2024, 02:40:09 PM)
Users Online
  • Users: 0
  • Guests: 68
  • Total: 68

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.