Questions tagged [optimization]

To make the conditions the best or the most favorable.

To make the conditions the best or the most favorable.

190 questions
36
votes
1 answer

How does CloudFlare's Rocket Loader actually work (and how can a developer ensure compatibility)?

CloudFlare has quite a ground-breaking technology called Rocket Loader (both on free and paid accounts). But how does it actually work? They have a couple of pages that describe the technology, but not a lot of technical details. One key feature…
Simon East
  • 906
  • 1
  • 9
  • 22
26
votes
5 answers

Local files vs. CDN

If website load time is a concern, which is generally better to use when referencing a JavaScript or CSS file? Would using a CDN be better or would that just add more HTTP requests?
Omar Rahman
  • 363
  • 1
  • 3
  • 5
25
votes
2 answers

Ideas to improve website loading speed?

Are there any ways in which I can improve the loading speed of a website? I know that Google is really pushing loading speeds and with the popularity of mobile websites it's now imperative that sites load quickly.
Rob
  • 1,552
  • 2
  • 16
  • 28
23
votes
5 answers

What are some good resources for doing A/B testing of a website?

I know of Google Website Optimizer and have used it some, and it's pretty good. Are there better options? Any good blogs about A/B testing?
tghw
  • 823
  • 7
  • 8
18
votes
6 answers

How can I find unused/unapplied CSS rules in a stylesheet?

I've got a huge CSS file and an HTML file. I'd like to find out which rules are not used while displaying a HTML file. Are there tools for this? The CSS file has evolved over few years and from what I know no one has ever removed anything from…
liori
  • 353
  • 1
  • 3
  • 10
16
votes
11 answers

Common optimizations to reduce HTML or XHTML page size?

What are some common optimizations performed to reduce HTML or XHTML page size? Some that come to mind are: removing comments, removing extraneous whitespace, moving repetitive inline styles to a CSS stylesheet, etc. What are some others? Which…
Chris W. Rea
  • 3,773
  • 1
  • 36
  • 48
16
votes
7 answers

What can I do to reduce the file size of my images?

Working with some wordpress themes I've been modifying some of the image files and noticed that my edited versions are sometimes 3-4x larger than the original (saved using the same format). I don't want to degrade quality - what are some of the ways…
Ryan Elkins
  • 328
  • 2
  • 6
15
votes
5 answers

What's the best way to load Javascript into a page to optimize performance?

Is there a way to load my JavaScript into a page that will make it load faster?
Jason
  • 2,158
  • 21
  • 26
14
votes
8 answers

What should I use to automatically combine css/js files?

I'm aware of sprockets for combining javascript files, but haven't tried it. What are some other options and how do they stack up?
Cebjyre
  • 522
  • 5
  • 12
13
votes
9 answers

Where to start Learning SEO techniques?

I know very little about Search engine optimization however from discussions with other I am now unsure where to start. Are there any books or do these date so quickly that they are obsolete? Do all website give you misinformation or are there any…
John
  • 241
  • 1
  • 9
12
votes
5 answers

Overhaul website - completely remove old content?

I am working on a client's website. It currently runs on WordPress and has a ton of pages which are badly created keyword stuffed, and not user friendly at all. Our plan is to completely overhaul the website and delete all pages on the domain. We…
Tim C
  • 931
  • 6
  • 19
12
votes
5 answers

Is it OK to use jQuery for responsive web design?

I have been tasked to update a site to make it responsive and appear correctly on smart phones. Unfortunately, the site in its current form isn't very easy to work with - I can't just change the CSS. Is it considered bad to detect the browser size…
MeltingDog
  • 1,373
  • 3
  • 21
  • 36
11
votes
3 answers

Leverage browser caching for Facebook, Google+, or other 3rd party resource files

I tested my website with Google PageSpeed Insights. I did cache optimization in my .htaccess, but it didn't affect resource files that are from Facebook and Google+ Leverage browser caching http://connect.facebook.net/fr_FR/all.js (20…
user3134277
  • 231
  • 1
  • 2
  • 4
11
votes
4 answers

Should I combine js/css files into a single file?

Both YSlow and Google's Page Speed add-ons recommend combining script (and style) files into a single file each to reduce the number of HTTP requests, and I can certainly see the point of this when the script files are consistent across the entire…
Cebjyre
  • 522
  • 5
  • 12
11
votes
1 answer

Hosting speed tests?

Are there any sites to test the speed of your hosting? I know there are sites that will tell you why your site is slow, e.g. - YSlow, etc., but how about the speed of bandwidth you get from your hosting provider?
Mark Norgren
  • 211
  • 1
  • 4
1
2 3
12 13