ASP.Net MVC - Images taking a long time to load
Date : March 29 2020, 07:55 AM
seems to work fine I guess you are running the site in VS (using Cassini) this is really slow, I had the same issue. I used Chrome, as it shows when the browser makes a requests to the images and file, which showed a large delay on Cassini delivering them. if this is a case, try putting you site on the local IIS (if you have an instance). the site should run a lot faster.
|
git taking a long time to load
Tag : git , By : Tony Siu
Date : March 29 2020, 07:55 AM
hop of those help? Because git keeps a history of all your commits, that content is technically there in the git repo (which, thankfully is exactly what a source repo is good for :) You can rewrite the past history to remove all references to the folder.
|
Why is my iOS app taking a long time to load on my device?
Date : March 29 2020, 07:55 AM
like below fixes the issue I don't know if it would account for "several minutes" but the time between compilation finishing and the app launching includes time to copy the app to the device, for the device to verify the code signature, and then for the debug server to launch, read in your whole app and start communicating with Xcode. In a large application with a lot of image resources, the time required to do these things can be quite noticeable (read: annoying as all get out.) None of those tasks needs to be done when simply launching a pre-existing, previously launched application, without a debugger.
|
Dropdownlist is taking long time to load in VB 6.0
Tag : vb6 , By : Luciano Campos
Date : March 29 2020, 07:55 AM
will help you The problem (I believe) is that you are using a server-side recordset. When you do this, you are making one round trip to the server for each iteration of your loop, which is, as you have found, glacially slow. The solution is to create a client-side recordset. That sends the data from the server to the client in one go. Keep in mind that client-side recordsets are always static; if you set the CursorType to adOpenKeyset the CursorLocation to adUseClient, the latter will override the former and your CursorType will still be adOpenStatic. Public Sub fillCombo(Id As String, Name As String, Table As String, obj As Object, Optional cond As String)
Dim sql As String
Dim rsF As ADODB.Recordset 'Don't use "As New" in VB6, it's slow
'sql variable with ternary conditional (IIf) is cleaner way to do what you want
sql = "Select " & Id & "," & Name & " From " & Table & IIf(cond = "", "", " Where " & cond) & " Order by " & Name
Set rsF = New ADODB.Recordset
With rsF
.CursorLocation = adUseClient 'Client-side, static cursor
'If .State = adStateOpen Then .Close --Get rid of this: if you just created rsF, it can't be open, so this is a waste of processor cycles
.Open sql, Cn 'Much prettier, yes? :)
obj.Clear 'All this is fine
Do Until .EOF
obj.AddItem .Fields(1)
obj.ItemData(obj.NewIndex) = .Fields(0)
.MoveNext
Loop
.Close
End With
End Sub
|
My page is taking a long time to load and I can't get into it
Date : March 29 2020, 07:55 AM
|