Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Improve this question
My wordpress website is very slow. It takes around one minute to load. I tried various plugins and other troubleshooting options to find out the reasons behind high loading time, but I could not find any. The website can be found here
http://www.developmentlogics.com/
What can I do to improve the site performance?
Try commenting out the following code from your site to see what happens. There is a timeout error on the loaded JS file 4190.js and it is causing the rest of your website to not complete until that error is triggered.
<!--Start of GHRec Script-->
<script type="text/javascript">
(function() {
var host = ("https:" == document.location.protocol ? "https://secure.eemt.se" : "http://www.eemt.se");
document.write(unescape("%3Cscript src='" + host + "/gt/js/4190.js' type='text/javascript'%3E%3C/script%3E"));
})();
</script>
<!--End of GHRec Script-->
I'm not sure if this is what you are looking for. You can press "f12" and under the networking tab you can see all the timing for the files to be loaded.
I had the same issue with my website, though couple of things you need to ensure.
1 - Don't add preloader to a page where you may have a counter. In your website we can see on row with counters, due to which your pre-loader is taking time to load the website.
2. Try to minimize your CSS and compress images on the website.
Try to use cache plugin and one thing more add favicon icon to site:
Do these steps :
1) Add cache plugin
2) compress your images, Css and Javascript
3) delete unwanted images as well as content
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 5 years ago.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
When open this website: http://codeera.net/adlink/
in any browser except Google chrome
work without issues,
But when open this website in Google chrome I get a HTML page
without CSS, JS and images (all of external links)
it is because AdBlock, if you disable it everything will be ok.
and just try to rename your title as "Ad" will activate AdBlock, I guess.
AdBlock looks for elements or attributes with 'ad' keyword to block them.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I've got a website (http://liverssreader.com/) which is quite JavaScript (jQuery) heavy. There are several scheduled background tasks (refresh of feeds) and animations. After an hour or so the browser tab freezes. Are there any obvious things to check to prevent this from happening (emptying animation queues or similar)? I was thinking of doing a complete website refresh after an hour or so, but that's not very user friendly. Any suggestions are welcome :)
Using the Google Chrome browser, open the developer tools, and go to the Profiles tab. The tools available there might be able to help you track down what is bogging down your page. (I'm assuming that the freezing is happening on the client side, not the server side - this wasn't entirely clear from the question.)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Improve this question
I am told by Google Page Test speed to remove the script below from my HTML <head> tag because it blocks the rendering of the page. From my research this script load a library or something like this. Is it wise to remove it? Can I do this without consequences on running other JavaScript on my page?
https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
I believe the test page is telling you to put the script tag in the bottom, but still within, the html/body tags. The reason for this is the browser will load that file before continuing on with the rest of the page, thus briefly blocking any content yet to be loaded. You're also using a CDN so if there is a bad network connection then you can expect for there to be perceived performance issues. Inserting the script tags at the bottom yields better perceived performance.
As to whether or not you need jQuery, depends on if your are utilizing it or not, as #Dave Newton said.
Refer to these:
https://developer.mozilla.org/en-US/Learn/Getting_started_with_the_web/JavaScript_basics
https://developer.mozilla.org/en-US/docs/Glossary/CDN
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
so I am working on this site (my rep isn't good enough to provide the home link) atm but I have a problem with product listing pages and the tips and tricks page, whereby what seems to be happening is a complete failing on the part of jMenu and jFlipBook respectively.
Since I did not write the original site nor have I used these plugins before I'm not sure why they're not working properly. You'll notice on the tips and tricks section if you inspect element and set the nav items to include the class jMenu (which jMenu should do automatically) the page becomes about 90% fixed (save for the submenus still being out of action). After digging around in the source for a while I've come to a dead end, so if anyone can shed any light on the matter it would be really helpful! Cheers in advance!
If you look at the javascript console you will see errors pointing to your document ready code blocks.
You are using:
$('document').ready(function(){
when it should be:
$(document).ready(function(){
I would imagine that this is breaking your code.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm working on a long scrolling website that features a number of full background hi res images. It's currently taking too long to load since all the images are loaded in parallel by default.
So before I custom write something to load first what comes first and later what comes later (this way the first scroll will load almost instantly and the user will wait for the remaining part while reading the first part :P), is there any script that will do this out of the box?
I'm thinking on some existing code that will read each img tag or background-image property/style-attribute and load the images sequentially depending on their appearance on HTML or a some extra attribute.
I prefer vanilla JS or jQuery. If I can't find it, I'll write a plugin myself, votes/encourages accepted!
I would try using a plugin like LazyLoad:
http://www.appelsiini.net/projects/lazyload
There is a threshold value that will start to load images a certain number of pixels off screen. That way as visitors start scrolling down, it'll begin loading the next few sections.
I created a jQuery plugin to achieve this. Check it out! It's a work in progress so you're welcome to comment and suggest! I took a lot from Lazy Load.
https://github.com/mspivak/sequencial_load