Questions tagged [optimization]

To make the conditions the best or the most favorable.

Filter by
Sorted by
Tagged with
33
votes
1answer
29k views

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 ...
23
votes
5answers
42k views

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?
23
votes
2answers
3k views

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 ...
23
votes
5answers
382 views

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?
18
votes
6answers
11k views

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 ...
15
votes
11answers
4k views

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 ...
15
votes
7answers
620 views

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 ...
15
votes
5answers
6k views

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?
14
votes
8answers
4k views

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?
13
votes
9answers
1k views

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 ...
12
votes
5answers
8k views

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. ...
12
votes
5answers
2k views

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 ...
11
votes
4answers
5k views

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 ...
11
votes
3answers
9k views

How can I replicate Google Page Speed's lossless image compression as part of my workflow?

I love that Google's Page Speed is able to losslessly compress a lot of my images, but I'd love to make it part of my workflow, prior to uploading a site and making it live. Is there anything I can ...
11
votes
1answer
292 views

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 ...
11
votes
3answers
26k views

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 ...
10
votes
4answers
542 views

How to go about unused CSS issues

I am running some speedtests on a blog, and I always get complaints about unused CSS. But this is not CSS that I never use, it is just not used on that particular page. Now I work in a structured way,...
10
votes
1answer
4k views

Site very slow when viewed from china

My site is very slow when viewed from china. I have used this tool for testing: http://www.dotcom-monitor.com/WebTools/website-speed-test.aspx This is the result Shangai - waterfall only the DNS ...
9
votes
2answers
7k views

When to use and not to use ETags

I was just looking at our site on WebPageTest.org and one of their recommendations for speeding up a website is: ETag headers should generally not be used unless you have an explicit reason to need ...
9
votes
8answers
424 views

CSS reduction for faster loading / less bandwidth

Is compacting CSS / Removing unused rules for a specific page worthwhile in terms of bandwidth or can we rely on caching (headers/last-modified) to remove this overhead in the wild? Cheers Also, ...
8
votes
9answers
795 views

How do I compress my JavaScript and/or CSS?

I know that there are ways to dynamically load it into the page, but if I want to compress my code so it loads even faster, how do I do it?
8
votes
3answers
2k views

Optimizing (reducing) web font requests

My homepage currently uses 5 web fonts--I'd like it to be 6 due to spotty support for Helvetica Neue. One of the fonts is 'FontAwesome' icons, the other 4 are only used for a word or two (i.e. I have ...
7
votes
3answers
2k views

How big sites scale up and optimize to massive traffic?

How do sites like Facebook and Twitter optimize their sites for massive traffic. Aside from spending big bucks on getting the best servers, what can be optimized in your code to accommodate massive ...
7
votes
6answers
735 views

drupal site speed increase

I'm using a drupal site with a theme from rockettheme. The users are member users. The problem is for unknown reason the site is very slow. Takes around 20 seconds to open the page. I have tried ...
7
votes
3answers
82 views

Search engine optimization for text with different colors

We're trying to do SEO on our company website. Our company logo is just text (in image form), but has two colors in it. Our company name appears a lot in our website's text/copy. For example, the ...
7
votes
2answers
56 views

Are there services that specialize in converting design into layout?

Are there reasonably-priced services that will take a PSD design concept that was created by a local designer and generate at least a first take on decent HTML? I know what I want (content-first, ...
6
votes
3answers
234 views

Measuring before and after on-page optimization

I'm new with SEO. I want to start with on-page optimization as it is quick and easy to implement. I will start with HTML structures such as <title>, meta, headers, etc. and then set up robots....
6
votes
3answers
4k views

How to name image files in multi language site?

I have one site with two languages: English and Spanish for example. What would be the proper convention to name image files? From my point of view it would be stupid to duplicate image and then name ...
6
votes
3answers
2k views

text to code ratio and SEO

I've run sites that I've developed through various online SEO checkers over the years and some of them have checked me for my text to html ratio. I remember reading about this once or twice as well. ...
6
votes
4answers
22k views

How can you identify duplicate CSS rules?

I'm not talking about used/unused here. I have two stylesheets and some rules differ (either in selectors, rules or both) and some are exactly the same. So I'm looking for a way to extract and move ...
5
votes
6answers
210 views

What is a good program for optimizing images on a website?

I have some extensive website that I need to analyze the images and see if they can be optimized. Can any one recommend a good program for this?
5
votes
2answers
123 views

How is the pagespeed in google webmaster tools measured?

With the inclusion of the page performance in the google ranking algorithm, What things can be done to get better figures on the webmaster tools performance measure? if the onload method of the page ...
5
votes
2answers
2k views

Check if an image is already optimized for the web

I have found this tool that optimizes images for the web. What is surprising for me (of course, there will be other tools like this :)) is that it only optimizes the uploaded image if it is possible, ...
5
votes
3answers
154 views

Image Optimization for my site

I use a hosted CMS and do not have server side access so I cannot set expiry for images but was told it helps to optimize my images and improve my site speed. My question is what exactly does it mean ...
5
votes
1answer
917 views

Page Speed Online vs Chrome Extension

In optimizing a content blog of mine with the goal of achieving the highest page speed score possible for obvious reasons (user experience, SEO, etc..), the results I'm obtaining are throwing me for a ...
5
votes
1answer
812 views

Why is Google appending "Home" to the title of my page when it appears in the search results?

I have a blog which I run on Github pages.Since this is a new blog, I decided to rewrite some posts from my old blog which had good ranking and organic search results to drive back some traffic. So ...
5
votes
4answers
415 views

Google Shopping: beyond the basics, how can I optimize for high placement?

Of course, including keywords in the product page title/description and associated feed. But what else? Would be interested to hear your thoughts on: PageRank of destination page how product ...
5
votes
2answers
349 views

Can the double downloads in pages with <link rel="subresource" ...> tags be avoided for user refresh requests?

When a user refreshes/reloads a web page, this results in HTTP requests with max-age=0. Pages utilizing the prefetch or subresource feature (e.g. tags like <link rel="subresource" href="/code.js"&...
5
votes
3answers
1k views

Best practices when loading images for improving page loading speed

I am working on optimizing a page's loading speed. Here are some analytics: Notice how the images, although only accounting for 65% of the total size (1.1MB), are by far the slowest loading assets: ...
5
votes
4answers
337 views

Software to combine multiple images

Combining multiple images into a single image is a good way to improve performance by reducing the number of http requests. But how do most webmasters manage their combined images? Is there any ...
5
votes
1answer
1k views

What might be causing my site's pages to load more slowly in these IIS Rewrite Module rules?

I have the following IIS rewrite rules that work exactly as I wish on both my development and live servers within an Orchard CMS website, though when enabled, seriously slow the site's page loads. ...
5
votes
1answer
3k views

How to show content for logged-in vs logged-out users?

We have a set of pages with the following urls: www.mysite.com/info/page1.html www.mysite.com/info/page2.html www.mysite.com/info/page3.html Each has a structure as follows: ---------------------- |...
4
votes
2answers
2k views

10 megabyte gzip limit in AWS Cloudfront?

My website is a static blog of visualizations and I am serving it via AWS S3. Some of the visualizations use large CSVs, ranging from 1 megabytes to 20 megabytes. I've set up Cloudfront to ...
4
votes
2answers
126 views

Is it ok to optimise my site for “freevideos” instead of “free videos”?

I am optimizing my website for SEO and after doing some research on google keyword tool I found out that there are a lot of searches for glued keywords with very thew competition in the search results....
4
votes
2answers
479 views

Do you get penalised for duplicate keyword anchor text within your own website?

First post here, coming from coding, please be kind! I'm finding natural linking opportunities within my content I'm writing to other sections of the website, using keywords. The way they are ...
4
votes
2answers
512 views

Mobile Browsers! Do they ignore `<noscript><img>` (Responsive Design with Framework Zurb Foundation (Interchange/Noscript))

Experimenting with Interchange Responsive Images I'm experimenting with Interchange by Zurb Foundation to serve various images versions to different devices. For example 200x100 for mobiles, 300x100 ...
4
votes
1answer
311 views

Is recomended to use BPG to a website?

I want to use BPG on my website, but I'm not sure wether the support is broad enough. Maybe the javascript plugin for decoding doens't work with all browsers Maybe the decoding process consume too ...
4
votes
1answer
2k views

How to enable more file formats for GZIP/Deflate Compression

I enabled gzip/Deflate compression on our servers per Google's Page Speed directives, and it looks like it's now compression html/php files, but a couple file formats aren't being compressed that ...
4
votes
1answer
889 views

From which file size is it worth to implement images as Data URI?

As the title says: for site speed up sake it is good to implement small images like Data URIs directly into HTML source code, like inline CSS (background image url), or with usual img src. But from ...
3
votes
7answers
5k views

Sitemap tool fails to find all URLs in my site [closed]

I added my url to Google http://www.google.com/addurl.html I added a meta tag with description and keywords I added it in Google web master tools and submit the site map There is no any robots in my ...