Quote:
Originally Posted by testing2
Hi, I have installed this mod and it's really useful. I have a problem though - it takes about 20 seconds to load the front page. All the rest of the pages load without any reduction in speed (1-3 seconds). I have about 150 links added so far and no file uploads.
Does anyone know of a way to speed up the page loading speed of the main page? I tried changing settings for number of most popular links and depth of categories shown but that didn't help.
Thank you.
|
This surprises me, as the front page uses the same code as the rest. Couple of suggestions
- try setting LDM/admin *show_hit_parade* to zero
- try loading one of the inner pages in LDM directly from a clean browser launch (e.g. point your browser at
http://yoursite/local_links.php?catid=1). Is this slow - in other words, is it the first page that is slow or the home page?
- edit your VB includes/config.php and add the following line:
Code:
$config['Misc']['debug'] = true;
at the bottom. This adds debugging code to VB, and you will get a timer/database hit record at the bottom of each page, with an 'Explain' link. On your LDM home page, click on 'Explain', and it will tell you where the time is being spent. (On my test board, the home page requires 15 database lookups and 0.1 seconds.)
Send me a PM with your findings and we can try to get to the bottom of this.