*

Anonymous

  • ****
  • 200 posts
profile picture db fetching-
« on: February 02, 2018, 10:50:41 AM »
hi,

i have noticed-  profile picture plugins creates a 8 to 10 line db fetching in various pages for pic;

Code: [Select]
[ OPERATION OK ] Connected to 'my_db_osclass': [DBHOST] = localhost | [DBUSER] = username_mydb
02/02/2018 - 15:13:44 [ OPERATION OK ] SELECT user_id, pic_ext FROM oc_t_profile_picture WHERE user_id = '50'
02/02/2018 - 15:13:44 [ OPERATION OK ] SELECT user_id, pic_ext FROM oc_t_profile_picture WHERE user_id = '50'
02/02/2018 - 15:13:44 [ OPERATION OK ] SELECT user_id, pic_ext FROM oc_t_profile_picture WHERE user_id = '50'
02/02/2018 - 15:13:44 [ OPERATION OK ] Connection with 'my_db_osclass' released properly

as you know mostly users are at shared host we havent acess to  cache like- redis or memcahed or apc,   so is it possible to do something for disable or make this fetching request in proper way,  like osclass and veronika core function ,  doesnt shoes such types of fetching releases.
Innovation is change that unlocks new value  ;)

*

MB Themes

Re: profile picture db fetching-
« Reply #1 on: February 02, 2018, 12:46:20 PM »
@Anonymous
You may redevelop plugin into dao
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Anonymous

  • ****
  • 200 posts
Re: profile picture db fetching-
« Reply #2 on: February 02, 2018, 01:13:31 PM »
 ;D :'( :'(
i wonder if i could ! :D  i will try to do it very soon! let my previous work finish at first  ;)
Innovation is change that unlocks new value  ;)