Title: Compress bloated source code
Last modified: August 19, 2016

---

# Compress bloated source code

 *  [Treebeard](https://wordpress.org/support/users/malawimama/)
 * (@malawimama)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/compress-bloated-source-code/)
 * After installing a few plugins, I see that the source code is tremendous! Does
   anyone know of a way to either compress the source code for better SEO? I have
   so much javascript in the header now, you have to scroll down to see the content.
 * Or, perhaps there is a way to hide it at least? If I cannot compress it, it would
   be nice to at least keep it confidential somehow. (but the SEO thing is still
   bothering me a lot)
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/compress-bloated-source-code/#post-1121921)
 * The amount of source code isn’t an SEO issue per se. It’s the amount of markup
   and scripting that gets between the engine spiders and the actual page content
   that’s the issue. For example, sites that use tabled layouts contain far more
   markup per unit of real content than sites that use table-less designs.
 * Compressing your code won’t help with SEO. It might decrease download time fractionally
   but from the bots point of view, there’s still the same amount of code to wade
   through.
 * With javascript, it’s better to use external scripts than place the scripting
   in the page source – both from a code bloat and a security perspective. It’s 
   not a big difference but it does make potentially sensitive information a little
   less accessible to the casual observer.
 * If you want to improve SEO, turn off all CSS in your browser. Or try browsing
   through your site with a [text-only browser](http://www.vordweb.co.uk/standards/download_lynx.htm).
   That should give you some impression of how a search engine bot “sees” your site.
 * Or imagine you’re reading a post/page out to someone over the phone. Does it 
   all make sense or would you have to add extra explanations?
    - Use headings properly and in order.
    - Provide keyword-rich link text that makes sense when taken out of context.
    - Ensure that image links have concise and descriptive alternative texts.
    - Employ front-loading copywriting techniques by starting each page/post with
      a short keyword-rich summary of what the rest of the post/page is about.
    - Use reciprocal link swaps to generate good quality incoming links.
 * Good SEO takes time, care and patience.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/compress-bloated-source-code/#post-1121928)
 * wow esmi, youre a guru — thats awesome advice!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Compress bloated source code’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/compress-bloated-source-code/#post-1121928)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
