Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6540545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:59:27+00:00 2026-05-25T10:59:27+00:00

More a theoretical question. We compress/minify css & js, but has anyone ever thought

  • 0

More a theoretical question.

We compress/minify css & js, but has anyone ever thought or tried to compress mark-up?

Q: Benefits (Pro/Contra) of mark-up compression, possible tools and scripts.

As it’s hard to have a solution for this Q, I’ll take the most detailed answer.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:59:27+00:00Added an answer on May 25, 2026 at 10:59 am

    markup-compression is possible and widely used. there are a few possibilities (wich can be combined):

    • compression using deflate or gzip if the clients browser accepts this (wich all modern browsers should do)
    • minify markup to kick out all the tabs, linebreaks and multiple spaces as they aren’t displayed by the browser (note: this can lead to problems when using <pre> or white-space: pre;)
    • leave out some markup (wich can be tricky and you really really shouldn’t do this, but google does. taking a look at the page-source you’ll see theres no closing body-tag for example. for a site like google, this makes sense, as leaving out </body> saves 7 bytes of traffic, wich is really a lot if you think of the daily page-views of google)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My question today is more theoretical than technical, but here goes. Can anyone tell
My question seems easy but is little more theoretical than it looks. There are
More of a theoretical question, but wouldn't it make more sense to have only
This is more a theoretical question than a practical one, but given I undestand
Another translation question, this may be more theoretical, but I am curious as to
This is more of a theoretical question rather than language specific, but I'm mostly
This is more of a theoretical question than an actual problem I have. If
This is a more theoretical question about macros (I think). I know macros take
this is more a theoretical question i asked myself. I remembered that BinarySearch of
This question is more theoretical. Is it save to be passing email address in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.