page-load-time

prevent external content to be loaded in selenium webdriver test

霸气de小男生 提交于 2019-12-17 18:48:02
问题 The question: Is is possible to tell a browser that is controlled by selenium webdriver to not load any content from external sources, or alternatively, not load resources from a given list of domains? Backround: I have a webpage against which I write a java based test script with selenium webdriver - I can't change the page, I just have to write the tests. There are issues with some external content that the site loads from another domain. The external stuff is some javascript code that is

Windows 7 php + Symfony2 terribly slow

狂风中的少年 提交于 2019-12-17 15:24:42
问题 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 might be faster, so I tried WAMP, too. It gave me the same results Then I installed an nginx server with PHP, but it did not help either Finally, I installed an Ubuntu 11.10 in VirtualBox and I shared my windows files containing my project, but the

Find the page load time of external URLs

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 19:18:55
问题 Is there a way to find the page load time for external URLs? My task is to compile a table of page load times for a list of URLs. I have read about the navigation timing API but could not find a way to find the page load time for an external URL that I specify in code. For example, something like http://tools.pingdom.com/fpt/ which analyzes the page load time for the URL we enter(I'm not sure if this is accurate) 回答1: http://www.webpagetest.org/ is a great tool for this. It measures the Page

Does opening and closing php tags multiple times increases page load? [duplicate]

╄→尐↘猪︶ㄣ 提交于 2019-12-12 10:51:46
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Opening/closing tags & performance? This is a newbie question, but I could not find a clear answer on the net, so please don't laugh :) Does opening and closing php tags ( <? php code ?> ) multiple times increases page load time? How about using include templatepath multiple times? Thank you 回答1: Theoretically yes, but the difference is so miniscule that in almost all cases it wouldn't matter. Not sure about

Do more formats in @font-face determine more http requests?

﹥>﹥吖頭↗ 提交于 2019-12-12 10:02:55
问题 Consider a similar css code: @font-face { font-family: 'MyFont'; src: url('../fonts/MyFont.eot'); src: local('Proxima'), url('../fonts/MyFont.woff') format('woff'), url('../fonts/MyFont.ttf') format('truetype'), url('../fonts/MyFont.svg') format('svg'); font-weight: normal; font-style: normal; } Does this code determine more HTTP requests to download all the formats or does the browser choose the best supported format? 回答1: Nope, browser will choose one compatible format. Feel free to add as

Page load time in Google Chrome or Mozilla Firefox

亡梦爱人 提交于 2019-12-12 07:39:49
问题 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 your starting page rendered on the screen and ready to use. If this website was live the load time should be different from the load time when starting your project from Visual Studio. What I would like to see is what would be the actual load time

browser showing half progress bar even after page is fully rendered

夙愿已清 提交于 2019-12-11 06:42:31
问题 what could be the reason if browser is showing progress bar (stuck at half) as if it is still trying to load something, even after the page is rendered. this is an intranet ASP.NET website. how can I find out the reason? the browser is IE8. actually this started after the browser is upgraded from IE6 to IE8. not sure if this issue has anything to do with browser upgrade. will the tools like Fiddler can help to find out what it is still trying to load? thanks in advance. 回答1: Check if u have

If Javascript code block is not at end of HTML file, but is using jQuery's $(document).ready(function() {…}), will it slow down the page display?

泪湿孤枕 提交于 2019-12-10 20:44:49
问题 It is said that Javascript code should be all placed at the end of HTML file, so that the page content is shown first, for the user to see something (so that the user is satisfied to see something instead of waiting another 12 seconds, for example). But to better encapsulation of the HTML and match Javascript code, such as an "Image Carousel", then usually the HTML and Javascript is placed in one single file, so there are Javascript code blocks all intermixed with HTML code throughout the

Angularfire firestore queries incredibly slow in Internet Explorer and Microsoft Edge

假装没事ソ 提交于 2019-12-09 23:58:16
问题 I have an Angular web app that uses Firestore for data. In Chrome, Firefox and Safari everything is working as expected. I've opened the app on Microsoft Edge and it's taking up to 30 seconds to fetch a collection of 4 items. Once the page loads and I click on an item to go into a 'detail' view, the load time is also just as long. Each item in a collection only has an image, title, date and reference string. The detail page has the same data and another 4 pieces of metadata, all of which are

How can we keep OpenX from blocking page load?

荒凉一梦 提交于 2019-12-09 04:55:16
问题 We're using OpenX to serve ads on a number of sites. If the OpenX server has problems, however, it blocks page loads on these sites. I'd rather have the sites fail gracefully, i.e. load the pages without the ads and fill them in when they become available. We're using OpenX's single page call, and we're giving divs explicit size in CSS so they can be laid out without their contents, but still loading the script blocks page load. Are there other best practices for speeding up pages with OpenX?