4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 18, 2018, 06:50:08 AM

Login with username, password and session length
Search:     Advanced search
Check the new Tutorial subforum with helpfull guides and tutorials for modifications and tweaks.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
+  4images Forum & Community
|-+  4images Help / Hilfe
| |-+  FAQ, Tips
| | |-+  Pages load very slowly
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Pages load very slowly  (Read 10509 times)
4images Moderator
4images Guru
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 31

Did u ever stop to think and then forget to start?

View Profile
« on: June 17, 2003, 04:41:48 PM »

This was really just copied from a post made by Jan and edited slightly for clarity.  Wink

If you have a lot of images in your database, the random category image and random image are very expensive database queries because of "RAND()" in the ORDER BY clause.

Open includes/constants.php and try changing


This disables the category related random image.

If this does not help, change
define('SHOW_RANDOM_IMAGE', 1);

define('SHOW_RANDOM_IMAGE', 0);

This will disable the random image completely.

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.098 seconds with 19 queries.