-
☆ A M B ☆
- 3,141 Posts
The first load could be when it is being cached, which, obviously, takes a little more time then just retrieving it.
How much slower is it the first load?
Sometimes it even take 30 seconds or more before page loads for the first time but later it works fine until I close the browser and open it again few hours later...
Here is that page:
http://nowa.centrum-klinkieru.pl/
-
☆ A M B ☆
- 3,141 Posts
Took about 6 seconds to load the first time here.. still way too long and nothing like I’m used to with Revolution.
Could you post your template here? Perhaps there are things in there that might be part of this.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="klinkier" />
<meta name="description" content="Opis Centrum Klinkieru" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[[++site_name]] - [[*pagetitle]]</title>
<base href="[[++site_url]]" />
<link href="css/default.css" rel="stylesheet" type="text/css" />
<link href="css/jquery.simplyscroll-1.0.4.css" rel="stylesheet" type="text/css" />
<link rel="Shortcut icon" href="favicon.ico" />
<script src="js/jquery-1.5.min.js" type="text/javascript" ></script>
<script src="js/jquery.simplyscroll-1.0.4.min.js" type="text/javascript" ></script>
<script src="js/ck.js" type="text/javascript" ></script>
<script type="text/javascript" >
$(function() {
$("#scroll").simplyScroll({
autoMode: 'loop'
});
});
</script>
</head>
<body>
[[$top-area]]
<div id="stripe"></div>
<div id="low-container">
<div id="low">
<div id="content">
[[$content-top]]
<div id="content-left">
<div class="content-left-text">
[[*content]]
</div>
[[getResources? &parents=`[[*id]]` &tpl=`offert-element` &includeTVs=`1` &processTVs=`1` &limit=`10` &showHidden=`1` &sortby=`menuindex` &sortdir=`ASC`]]
</div>
<div id="content-right">
[[$promotions-box]]
[[$contact-box]]
</div>
<div class="clear"></div>
<div id="scroll">
<a href="#" title=""><img src="img/logos/slider/bogener_dachziegel.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/crh.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/daas-baksteen.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/de_rijswaard.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/feldhaus.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/helden-oefelt.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/muhr.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/olfry.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/pcb.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/penter-klinkier.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/petersen_tegl.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/quick_mix.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/roben.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/sopro.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/stroeher.jpg" alt="" /></a>
<a href="#" title=""><img src="img/logos/slider/vandersanden.jpg" alt="" /></a>
</div>
</div>
</div>
</div>
<div id="footer">
[[$low-menu]]
</div>
</body>
</html>
top-area chunk:
<div id="top">
<div id="header-top">
<div id="logo">
<a href="[[~1~]]" title="[[++site_name]]">
<img src="img/logo.png" alt="[[++site_name]]" />
</a>
</div>
<div id="header"></div>
</div>
<div id="topimage">
[[$main-menu]]
</div>
</div>
main-menu chunk:
<div id="menu">
[[!Wayfinder?&startId=`2`&outerTpl=`mh.OuterTpl`&innerTpl=`mh.InnerTpl`&rowTpl=`mh.RowTpl`&innerRowTpl=`mh.InnerRowTpl`&hereClass=`current`&selfClass=`active`&level=`1`!]]
</div>
content-top chunk:
<div id="content-top">
<h1>[[Breadcrumbs?&showHomeCrumb=`0` ¤tAsLink=`0`]]</h1>
<div id="search">
<form action="[[~20~]]" id="search-form" method="post">
<fieldset>
<input id="input-query" type="text" name="search" />
<a href="#" id="input-submit">Szukaj</a>
</fieldset>
</form>
</div>
</div>
promotion-box chunk:
<div id="promotions-box">
<div class="box">
<ul>
[[getResources? &parents=`5` &tpl=`promotion-element` &limit=`2` &showHidden=`1`]]
</ul>
</div>
<div class="box-top">
<a href="[[~5~]]">Promocje</a>
</div>
<div class="box-bg"></div>
<div class="box-bottom">
<a href="[[~5~]]">Więcej</a>
</div>
</div>
contact-box chunk:
<div id="contact-box">
<div class="box">
<a id="contact-small-logo" href="[[~7~]]">
<img src="img/promo-logo.png" alt="[[*pagetitle]]" />
</a>
<div id="contact-box-caption">
<div id="phone-number">(+48) 58 56 37 201</div>
</div>
</div>
<div class="box-top">
<a href="[[~7~]]">Kontakt</a>
</div>
<div class="box-bg">
</div>
<div class="box-bottom">
<a href="[[~7~]]">Więcej</a>
</div>
</div>
low-menu:
<div id="low-menu">
[[!Wayfinder?&startId=`2`&outerTpl=`mh.OuterTpl`&innerTpl=`mh.InnerTpl`&rowTpl=`mh.RowTpl2`&innerRowTpl=`mh.InnerRowTpl`&selfClass=`active`&level=`1`!]]
</div>
-
☆ A M B ☆
- 3,141 Posts
The only thing I can spot that could have an influence is the wayfinder calls (in both menus) being uncached ([[!..]]), so I would cache those..
That’s all I can see at this point though..
Oh, and in Revolution links are made with [[~5]] and not [[~5~]], you’re mixing it up with Evo several times..
Ok thanks I’ll change that...
PS.
My start site is a weblink which is redirecting to another site at start. Maybe this could be a problem?
-
☆ A M B ☆
- 3,141 Posts
I don’t think that is the problem, even though it just took 500ms to make the redirect.
When loading the right page (oferta) it is stuck waiting for response for a short while... which would probably be the parsing time of MODX.