Cache setting question

Permalink
Ok lets ask this question. My page(s) load terribly slow *could be the sever my website goes through but doubtful.* So I noticed ages ago that their are cache settings which you can set. So being curious, I switched the Full cache settings to custom and set a default to 5 minutes. *which is what it currently sits on as of right now* So when I set it to something different like none or disabled, I noticed my slideshow on the landing page suddenly disappeared. Panicked, I set it back immediately to the settings mentioned above and noticed I had to goto edit page and click on the slideshow block and then pretend to edit it, and save all edits and exit the edit page screen for it to fully function again.

So my question.. How to speed up my load time on my website in general.. Sounds like a basic newbie question, but if I try to adjust, the above formentioned things happen... Any clues? or is it just concrete 5 being slow loading all the content??

mcmspi
 
fastcrash replied on at Permalink Reply
fastcrash
i use this setting,
Basic Cache : Enabled
Full Page Caching : Enabled if blocks allow it, unless specified at page level

you can add this code in top index.php
$time = microtime(true);
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$start = $time;
$GLOBALS["start"] = $start;


and in footer.php, your theme, after </body> tag
<?php
         $time = explode(" ", microtime());
         $time = $time[1] + $time[0];
         $finish = $time;
         $totaltime = ($finish - $GLOBALS["start"]);
         echo 'This page opened in ' . substr($totaltime, 0, 3) . ' seconds'; 
?>


just option if you dont have the load time code :)

i combine with misser too

if some of your block get weird, you can turn off this block cache, by setting it to false in controller block, like rss displayer, it will not update until you clear cache.
protected $btCacheBlockOutput = false; // ithink this apply to your slideshow too