Osclass Support Forums

Osclass plugin support => Free Osclass Plugins => Topic started by: Anonymous on February 02, 2018, 10:50:41 AM

Title: profile picture db fetching-
Post by: Anonymous 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.
Title: Re: profile picture db fetching-
Post by: MB Themes on February 02, 2018, 12:46:20 PM
@Anonymous
You may redevelop plugin into dao
Title: Re: profile picture db fetching-
Post by: Anonymous 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  ;)