Use this for questions related to page loading time (assets, images, etc.)
Questions tagged [page-load-time]
289 questions
41
votes
5 answers
Is the "async" attribute/property useful if a script is dynamically added to the DOM?
This question is sort of a tangent to Which browsers support ?.
I've seen a few scripts lately that do something like this:
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src =…

Bungle
- 19,392
- 24
- 79
- 106
40
votes
3 answers
When using @media queries, does a phone load non-relevent queries and images?
If I base my CSS on mobile styling, then use @media queries for gradually larger displays (tablets, desktops etc), will the mobile devices use the desktop styles?
I believe that typically, mobile devices will load all images even if they don't apply…

ChaBuku Bakke
- 685
- 1
- 7
- 24
36
votes
10 answers
Windows 7 php + Symfony2 terribly slow
This is an issue I've been having for a long time. I want to run PHP applications on my windows computer and it has a terribly high load time, around 10-25 seconds. I have tried many things:
First I tried a simple XAMPP installation
I read WAMP…

David Frank
- 5,918
- 8
- 28
- 43
35
votes
5 answers
Page load time in Google Chrome or Mozilla Firefox
Is there a way to check how long does it take for the page to load?
EDIT:
I will extend the question a bit. Say you are working on a ASP.NET project and when you run your project within the Visual Studio there is some loading time before you can see…

Anton Belev
- 11,963
- 22
- 70
- 111
27
votes
6 answers
Page load time with JavaScript
I am looking for a proper way to test the time it takes a page to fully load all its resources. What I've done so far is add:
window.startTime = (new Date).getTime(); // after the title in my page
And
window.onload = function () {
…

andrei
- 8,252
- 14
- 51
- 66
23
votes
10 answers
How to prevent YouTube js calls from slowing down page load
I am using https://gtmetrix.com to diagnose issues with my page speed.
The page in question has one embedded YouTube video and GTMetrix is saying that this video's JS calls are slowing down page load speed.
This is the call being made:
18
votes
4 answers
@font-face is causing slow load times
Lately i started noticing the website loads very slow at some point.
I've investigated this with firebug and when the page takes very long to load this is showing up:
It seems totally random, but the requests to webfont.woff just waits and waits…

user1226868
- 1,708
- 5
- 18
- 29
14
votes
3 answers
Minify an Entire Directory While Keeping Element/Style/Script Relationships?
Do any solutions currently exist that can minify an entire project directory? More importantly, do any solutions exist that can shorten classnames, id's, and keep them consistent throughout all documents?
Something that can turn this:
Index.html…

Sampson
- 265,109
- 74
- 539
- 565
12
votes
2 answers
Azure websites load takes very long time
Hello I have recently deployed one of my application on azure portal and it is running fine as well but the issue it takes 15 SECONDS TO LOAD for the first time when site load.
After site load successfully once than it runs fine but as I open after…

3 rules
- 1,359
- 3
- 26
- 54
11
votes
1 answer
Iframe issue need to decrease pageload time
I have a website (wordpress) which has a few thousand posts on it. A post will look like this:
[tab:source1]
10
votes
2 answers
Combine multiple .woff files into one
On a website I manage we have several .woff files, one for each font. In the interest to save loading time I want to reduce the number of requests made. Is it possible to combine these woff files into one resource?

Björn Andersson
- 855
- 3
- 11
- 23
9
votes
4 answers
Which is better for JavaScript load-time: Compress all in one big file or load all asynchronously?
A simple question that I'm not sure if it has a short answer!
Description
I have a files of JavaScript that to be loaded in a website here are some notes about them:
They are all comes from the same domain (no cross domain loading needed)
They are…

Omar Al-Ithawi
- 4,988
- 5
- 36
- 47
9
votes
2 answers
Is it faster to load if all webpage resources are compiled into a single HTML file?
What if I had a compilation step for my website that turned all external scripts and styles into a single HTML file with embedded