Site slow after Upload
Автор: Justin G.
Просмотрено 1482,
Подписчики 1,
Размещенный 28
Hi,
I've just use your product, Preview looks great, think it is really a great site creation software. But I uploaded my site to hosting, this is where it gets bad.
The Javascript, and stylesheets take a minimum of 3 seconds to load, it take a complete 13s +/- few. This is very bad, I don't like setting the sites first impressions as being another slow crappy site. How do I speed this up? is there something wrong with one of your templates causing this bad waiting time?
Размещено
Looks like your hosting is having problems, the best solution is to wait it out give it some hours and try again.
Автор
I don't believe that is correct.
I have had the site on two different free webhost, and a 2Gig + 4Cores VPS. All the same.
Автор
There is something else wrong, as I have wordpress running from the sameVPS as well, that loads morethen fine. Somethingto do with the program it self, the way it codes, or exports.
Автор
As a part of my problem solving, I took out the javascipt loading lines.
<script type="text/javascript" src="res/swfobject.js"></script>
<script type="text/javascript" src="res/jquery.js"></script>
<script type="text/javascript" src="res/x5engine.js"></script>
<script type="text/javascript" src="res/x5cartengine.js"></script>
<script type="text/javascript" src="res/l10n.js"></script>
<script type="text/javascript" src="res/x5settings.js"></script>
They are all gone from the index.html file. Site loads REALY fast.
But as a resault of this the site doesn't work completly. Music/videos/etc
What is is in these javascript file that make them load so slow?
Автор
Ok, my corrent fix is moving
<script type="text/javascript" src="res/swfobject.js"></script>
<script type="text/javascript" src="res/jquery.js"></script>
<script type="text/javascript" src="res/x5engine.js"></script>
<script type="text/javascript" src="res/x5cartengine.js"></script>
<script type="text/javascript" src="res/l10n.js"></script>
<script type="text/javascript" src="res/x5settings.js"></script>
just before the closing body tag, still loads a bit slow on first visit, after that the site is fast.
But as my personal opinion, Please look into them file and octimie them. I knocked out a good two thirds of junk, making 107Kb file, just 34Kb.