MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
10 +sec to first byte
Current time: 10-26-2020, 02:14 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
10 +sec to first byte
11-03-2014, 08:15 AM
Post: #1
10 +sec to first byte
we recently upgraded the version of our store and now we have a slow load time and the vendor wants to sell us an optimization package. I enabled gzip compression but that didn't help. Most of the load time is in the time-to-first byte. There's a long block of java code at the head of one of the css files. Any suggestions on how I might clear this slow load? This seems to be the priority over the other issues, like image compression. Thanks for any advice.

site size: 456 kb
server requests: 34
server type: apache

http://www.webpagetest.org/pagespeed.php...1&cached=0

Details:
First Byte Time (back-end processing): 0/100

11311 ms First Byte Time
ms Target First Byte Time

Defer parsing of JavaScript

433.8KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.

I saw this code from earlier posts on the site. Would adding that to the body work, as was suggested?

<script defer="defer" type="text/javascript">
window.onload=function(){
var mycode;
mycode=document.createElement("script");
mycode.type="text/javascript";
mycode.src="http://www.example.com/path/yourjavascriptfile.js";
document.getElementsByTagName("head")[0].appendChild(mycode);
}
</script>

</body>
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
10 +sec to first byte - jaccobb - 11-03-2014 08:15 AM
RE: 10 +sec to first byte - pmeenan - 11-04-2014, 02:34 AM
RE: 10 +sec to first byte - jaccobb - 11-04-2014, 11:52 PM
RE: 10 +sec to first byte - GreenGecko - 11-04-2014, 03:47 PM
RE: 10 +sec to first byte - pmeenan - 11-05-2014, 04:00 AM
RE: 10 +sec to first byte - jaccobb - 11-07-2014, 12:45 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)