MyBB Hacks

Full Version: Benefits of imagecreate ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Accesses will generate 0 queries because it's a static image.
I mean with my current system, it generates two queries each time the file is accessed, up to 4 if it need to generate the image, and though it is the best I could achieve it could be too much at the long term.

I already wrote the task file (I have to manually add it in the ACP tough and modify the settings), looks pretty good by now. One problem I see is that people will need to refresh the image to see any possible update on it, but well, no one is perfect and I doubt there is a solution to this anyways.

Do you think a task would be the best solution for users-stats bars (usersbars or whatever they are named)? Maybe updating only those users online since the last time the task was ran..
(08-17-2012 04:31 PM)Sama34 Wrote: [ -> ]I doubt there is a solution to this anyways.
Send proper no-cache headers.

(08-17-2012 04:31 PM)Sama34 Wrote: [ -> ]Do you think a task would be the best solution for users-stats bars (usersbars or whatever they are named)? Maybe updating only those users online since the last time the task was ran..
Possibly.
Pages: 1 2
Reference URL's