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

  • SEARCH
  • Home
  • 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 8059261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:36:56+00:00 2026-06-05T09:36:56+00:00

Browsers have decompressors written to handle compressed CSS, JS, etc. Can I access it

  • 0

Browsers have decompressors written to handle compressed CSS, JS, etc.

Can I access it via javascript…something like decompress(text_stream)

I don’t want to use a JavaScript implementation ( there are many implementations out there: here is one post ) as I know the browser already has one implemented in C / C++. Is there any reason there would not be access to this from an API?

I’ve seen so many posts and .js libraries for decompression, I’m guessing it has been overlooked or there is some fundamental reason why it can’t be exposed.

  • 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-06-05T09:36:57+00:00Added an answer on June 5, 2026 at 9:36 am

    If you are talking about gzip data compression, then that is handled at a much lower level than javascript as any browser element can use gzip compression. In that case, the document is automatically decompressed before being used by the browser. There are many, many gzip libraries available. This would not be exposed via a javascript API because there is no need – it’s seamless and automatic in the browser. There is no need to do manually gzip decompress in a javascript app.

    If you are talking about javascript minification where javascript files are reduced in size by doing variable substitution (using shorter variable names), removing whitespace, etc… then the browser does not need to “decompress” minified files and does not do so. They are still legal javascript files and it runs them as they are. Thus, there is no API for unminifying because the browser doesn’t do it. Third party apps have been built to unminify, but this is mostly to make code more readable to humans – it is not needed or done by the browser.

    Minification and compression can be used together where a JS file is first minified and can then be compressed by the web server during transfer to the browser. In this case, the browser only sees the compression and does it’s automatic decompression as the file is received. It ignores the minification because the file is still legal and runnable javascript even after being minified. The browser does not need to unminify it and does not.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Two part question: Do browsers have a built-in CSS interpreter like they do for
Which browsers have support for CSS :before { content: x; }? I could not
This might sound like a reaaaally dumb question but... why do browsers have a
I have a strange problem working with HTML,CSS in different browsers: Firefox 3.6 and
Modern browsers have multi-tab interface, but JavaScript function window.showModalDialog() creates a modal dialog that
When even mobile browsers have JavaScript, is it really necessary to consider potential script-free
By now, most mainstream browsers have started integrating optimizing JIT compilers to their JavaScript
Is there a good blog/wiki/documentation about various events that browsers have/expose ? Like the
Many mobile web browsers have some default functionality on image hold. For example, user
I am using jScrollPane and are just testing it in all browsers and have

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.