Using Meteor (todo example) and LiveEdit in WebStorm, the page reload every time i edit and save the code (after 5 seconds of delay).
Given that the LiveEdit is enabled why the page is reloaded?
How to fix the page reload delay ? is it possible to prevent it ?
Its seems it caused by the reload.js of Meteor-js, so its related to
Speed up Auto-reload in Meteor.js
Related
I am developing an iOS app that mainly loads my web pages in WKWebView.
Things were fine so far before I start facing a weird issue with one of the CSS file not loading.
The font-awesome.css file is not loading, generally it gets loaded on the very first page call. In my knowledge nothing has been changed on the server side that could affect loading of font-awesome.css file.
I am intercepting request by implementing following function in iOS app code. But for the first request I just do decisionHandler(.allow) because I don't want any interception for the first request.
func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction,
decisionHandler: #escaping (WKNavigationActionPolicy) -> Swift.Void) {
// For the first request it will go as is
decisionHandler(.allow)
}
Once the first page gets loaded on WKWebView the font-awesome.css file didn't get loaded hence some font icons are shown as squares on the page.
After spending some time on this issue I tried to put a delay on calling decisionHandler(.allow) as follows and then it starts loading the font-awesome.css file:
DispatchQueue.main.asyncAfter(deadline: .now() + 0.150) {
// I just added a delay of 150 ms and it starts loading the css file.
decisionHandler(.allow)
}
For me currently its very confusing to figure out the relation between putting a delay and loading of the css file.
I need suggestion on this behavior why its happening or is there anything else due to which this is happening and I am just doing a work around by putting a delay.
Some more updates:
I have an Android app also that is loading same web pages in WebView and that is working fine.
I check the IIS logs by sending the request with and without putting the delay. With the delay I an clearly see in IIS logs that it loads the font awesome as follows, but in without delay I don't see this entry in IIS logs:
2020-11-23 13:44:36 10.100.2.72 GET
/Content/fonts/fontawesome-webfont.woff2 v=4.5.0 80 - 10.100.0.111
....
Good day.
I have the following detail:
Make an application with signalR in vb.net (ASP.NET), which works well, the problem is that the page using SinalR has links that send me to other pages that open with a target = '_blank' in it browser, but when they open they do not load completely, when I inspect my page, the console sends me the following:
Active resource loading counts reached to a per-frame limit while the tab is in background. Network requests will be delayed until a previous loading finishes, or the tab is foregrounded. See https://www.chromestatus.com/feature/5527160148197376 for more details
I have researched how to disable that option in chrome, I have applied it, but when opening again pages do not load.
Any ideas?
Note: My chrome is version 69.0 and in IE the pages work correctly, and the end of the page show the next message (waiting for available socket)
I have this ASP.NET application that works fine. One of the pages packages a large amount of data for download, which sometimes takes a few minutes. On my development machine, when debugging, it works fine. But on the production machine, the page stops processing after approximately 30 seconds. The user experience in production is this:
The user navigates to this page.
The user clicks on a button to download the large file.
The browser displays the usual "processing" icon on the page tab, indicating the request is being served.
After 30 seconds, the browser removes the "processing" icon and goes back to the regular tab icon. Nothing else happens.
In development (debug) mode, the page keeps processing after 3 and, eventually, the file is offered for download, as expected.
Something must be interrupting the processing after 30 seconds. I have tried setting all the properties I know of, including Server.ScriptTimeout in code and executionTimeout on web.config, but the result doesn't change.
What other settings may be related to this? Any ideas? Thanks.
I have a customer portal with a few reports in it. When I click a report link on the parent page to view a report, a new window opens (window.open) which contains an ASPX page, containing a reportviewer control.
The report runs (less than 30 seconds):
But then something strange occurs.
If I remain on the parent page, 15 minutes later, the browser is unresponsive. I cannot browse to any other pages on the site, I need to close and reopen the browser to continue. If I do NOT choose a report, 15 minutes later the browser is fine.
I've used network tools to see what the network calls looks like, and all I get is that a call was initiated.. nothing indicating a hung HTTP call, etc. It just.. stops.. If i browse the site immediately after running the report, it's fine! But if I hang out on the parent page after running the report (even after closing the child report window) I get the unresponsiveness.
There is a limited set of compatible browsers, especially on older versions of SQL Server SSRS. I would always recommend IE, which it looks like you are not using?
Here's the compatibility info (for SQL 2016, there's a version selector at the top of the page):
https://msdn.microsoft.com/en-us/library/ms156511.aspx#bkmk_reportviewer
Not really the solution, but finally found a more permanent fix for this. I developed a separate website that hosts my ReportViewerControl. I then developed a web form that loads with a meta refresh, after 3 seconds the page will "refresh" and redirect to my secondary ReportViewerControl website.
Something "goofy" was happening here, the session was getting locked up, almost like the more complex the report, the longer the session was locked up, the more of a chance the browser hanging. Something with the meta refresh and the secondary website causes the session to be completely disconnected (I think???)
There's probably no other person in the world that will have this issue, but if it does, at least others know my story =]
We're using the Telerik.RadScriptManager to dynamicly register resources depending on the controls on the page. These get combined and served as a single .axd for all .js files. This works fine as long there is no "heavy" load on the page. Under load the inital loading of the Telerik.Web.UI.WebResource.axd takes up to 10s, reloading the page afterwards however is instant (~10ms). The file is around 200kb in size and in FireBug i see the browser "waiting" for the request. This happens per user/browser, it isn't cached globally on the server. The server CPUs aren't stressed at all (<10%), so where is the bottleneck? What takes so long? Any hints where i could investigate this further?
Thx
UPDATE:
Narrowed it down to the RadScriptManager EnableScriptCombine feature. Disabling this and there is no performance impact anymore. But then I have 20 more requests...
Anyone an idea how to speed this up? Another idea would be to generate/combine the script with the RadScriptManager and then saving it next to the page as it won't change.