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 7510499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:14:15+00:00 2026-05-29T23:14:15+00:00

I quickly wrote this up, http://www.ionfish.org/php-shrink/ where a user uploads a .php file with

  • 0

I quickly wrote this up, http://www.ionfish.org/php-shrink/ where a user uploads a .php file with comments and spaces in it, and it will “minify” it for small file-size.

It does exactly this: http://devpro.it/remove_phpcomments/ except it’s web-based, and instant. You get a download prompt after you click upload, to save the processed file.

My questions:

  • Is a 2-megabyte upload limit enough? Should I make it 4, 8, etc. ?
  • Is the output (requires you test it with some random PHP) satisfactory, or should it be tweaked?
  • Would there be any use for this for the general public, and should I add support to minify HTML, CSS, JS, and even C++ and Python etc. ?

EDIT: Changed to 250K for now, will see if it suffices.

  • 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-29T23:14:17+00:00Added an answer on May 29, 2026 at 11:14 pm

    A file that needs such a minification is proof of bad practice.

    1. The file size of a single php file should never be a problem when using best practice.
    2. You should not be uploading files during your deployment anyways. Instead you should be checking out files from your VCS and you don’t want ‘minified’ files in your VCS.
    3. Such a minification will not improve site performance either since every serious project uses opcode caching.

    Conclusion: Such a service is not needed.

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

Sidebar

Related Questions

I wrote this quickly under interview conditions, I wanted to post it to the
I wrote this to quickly test Why arent my settings being saved? The first
I wrote this up quickly because I am having problems with it. I apologize
With my luck this question will be closed too quickly. I see a tremendous
I quickly wrote an interpreter for some sort of experimental programing language i came
Since the WMI class Win32_OperatingSystem only includes OSArchitecture in Windows Vista, I quickly wrote
I just want a simple tool that will help me quickly write scripts/packages that
I'm trying to write a short function that will let me quickly read in
I have quickly read (and will read with more care soon) the article of
I have read this manual: http://git-scm.com/docs/gitignore As I am working with gitosis, I rather

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.