I've been working on this website. One of the pages takes an extraordinarily long time to load (about 1 minute). I'm very puzzled by this, because the other pages load in a reasonable amount of time, and there's no obvious explanation for why this page should load slowly, e.g. no large images or computationally intensive JavaScript.
Update
I removed the reference to the missing .js file - thanks for pointing this out. The page still takes a very long time to load, so it seems like this was not the only problem.
Run the particular page on pagespeed online by Google.
Something in your page cannot be found and this is causing a redirect to http://home.iol.ie/common/error/notfound.asp
The problem seems to be that notfound.asp is throwing a Network Access Message.
It seems that the item that isn't being found is:
./js/foo.js
Even so, the bigger problem is that your error page is having a problem itself.
Looks like there's something missing on your page.
[20:50:02.111] GET
http://home.iol.ie/common/error/notfound.asp
[undefined 20982ms]
This page is looking for something and taking a long time before it gives up. Are you sure everything on the page is accounted for?
I clicked on 'View Source'. All the javascript files can be viewed instantly except "./js/foo.js". This is causing the page to hang. Does this file exist or could it be inaccessible?
Related
So my website: ropinranch.com
looks FINE on any browser (so far) if you haven't accessed the page in the past. But for any of my previous users, it looks messed up when they load it.
We've all cleared all of our cookies, and emptied our cache. I even edited a new image on the page to see if that would change and it DID.
I cannot think any other way the page would be keeping memory of it.
One of my testers said that if they had the page bookmarked in the past of it working fine, that when clicking on the bookmark it loads fine still -- but typing in a URL fails.
Any other ideas on what I'm missing here?
Update: I realized what happened -- but I'm unsure how to fix.
https://ropinranch.com WORKS
but
www.ropinranch.com does not. I know theres a setting in my c-pannel to change this but I don't know what it's called
Try ctrl+F5 to reload the page without caching.
This helped me temporarily:
By Varun: If you are just testing, could you try passing a timestamp or random number in the URL ( manually , just for testing ) and check. Eg : http://ropinranch.com?f=141414542343 (each time with a diff number )
But What I did was I had to go through the server and reroute all traffic to my SSL site rather than things of www. or http://
When I create a new HTML page, I have the property tag for "og: image".
After that, I copy the link into Facebook and don't get the correct image.
When I try this some minutes later (about one hour or only 20 minutes), I get the correct image.
It makes no sense for me. Has anyone an advice?
Try using Open Graph Debugger
(Here is link: Open Graph Debugger)
after you create your post. This should basically force Facebook to process your Open Graph tags. Facebook need some time processing these tags. You can kind of automate it with AJAX to call OG Debugger, but Facebook will not like it I suppose.
I'm experiencing the strangest problem. I have a development site page that for some users is rendering incomplete in all browsers. Viewing the source shows it to be cut off at a certain point, with no closing body or html tags anywhere. Logging the response body on the server when this page is being served to them, however, shows it to be complete. At first I thought it may be a network issue, but this problem has been experienced in multiple locations located far from either other. Just as strange, if the user loads the same complete source code as a static page instead of a dynamic one, the page renders correctly every time. I'm using Rails 2.3.8 w/ Rack 1.1.3, Passenger 3.0.9, and Nginx 1.0.6 FYI. Any suggestions? Thanks.
Problem solved. There was a large JSON object assigned to a variable on the page that was used to by the autocomplete methods of various fields. After removing this on-page JSON object and loading it from another URL using the jQuery getJSON() method, the problem went away. Definitely a rare issue, but hopefully this will help someone else.
I have the problem that some webpages on my webserver are sometimes not loaded completely, for instance it seems that css and javascript are not loaded and therefore the website appears unformatted. Is there a way to force the complete loading of the css and javascript files so that these errors can be prevented. Maybe some progress loading can be shown while the whole website is loaded. I'm sure this is a solved problem but I need some directions where to look for implementations.
Regards,
Juan
Is it just that the page takes a long time to load but gets there eventually? If so, you can wait for the onLoad event to fire before starting up your JS code. If the page never gets there, well, that's some kind of server or connection problem, as thirtydot says.
I'm developing an HTML newsletter system using PHP & PEAR. It sends out the emails fine.
However I cannot force Apple Mail to reload images from the server. I have tried:
Restarting Mail
Clear ~/Library/MailDownloads
Clear ~/Library/Cache/Mail
Empty Safari cache
Does any one know where Apple Mail caches the images ?
Is adding a dummy query string to all image URLs an option for you?
<img src="http://example.com/images/hello.png?343882881923"/>
You'd simply update the query string to prevent the cached image from being used.
You could use OnyX to clear all apps cache and also tune up other aspects of the OS.
I just encountered this problem, and was able to solve it by quitting Mail and deleting:
~/Library/Caches/com.apple.mail/Cache.db
Using the latest FSeventer program I traced the cache file to:
/private/var/folders/Sl/rand chars+++TM/-Caches-/com.apple.mail/Cache.db
I tried turning of internet connection, deleting the file, and then viewing the HTML newsletters. No images loaded. After re-connecting and viewing the HTML mail the Cache.db file grew to 1MB in size.
There seems to be another intermediary cache. I tried deleting the cache & disconnectinf whilst viewing two different newsletters. They bothy displayed properly. After I quit and re-opened Mail, they images did not display.
So it is possible to delete the cache, but I have not found a way to force refresh the images.
I spent some time playing with this today and was able to duplicate the problem easily. The image in mail doesn't change - whichever picture shows when you first look at the email seems to stay with that message no matter how many times you change the image on the server. Even when I forward the message to myself it doesn't reload the picture. Wow. And I couldn't find the images anywhere in any cache, either.
I did find a reference from last summer to this same problem with no real answer. One person agreed with Leandro Ardissone's answer and recommends using OnyX to "trash the Application Cache", but it's only a one time fix.
The "dummy query string" suggested by Ates Goral worked great for me, so if you can deal with changing that every time you change the picture that seems to be your best bet.
Wish I could be more help, but I'm stumped.
I think we need someone from the Apple Mail group to enlighten us to a real fix!