Project

General

Profile

Actions

Feature #1443

closed

Could you enable compression by default?

Added by admin about 17 years ago. Updated almost 16 years ago.

Status:
Wontfix
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

Hi,

Could you enable compression by default?

compress.filetype = ("text/css", "application/x-javascript", "text/plain",
"text/html", "text/xml")

Actions #1

Updated by stbuehler almost 17 years ago

What exactly do you want? A default list of mimetypes to be compressed? An option to compress all mime types?

Actions #2

Updated by admin almost 17 years ago

A default list of mimetypes to be compressed?

Yes.

An option to compress all mime types?

I don't think that's a good idea.

Actions #3

Updated by Anonymous over 16 years ago

I suggest compression for
  • application/atom+xml
  • application/javascript
  • application/rdf+xml
  • application/pgp-keys
  • application/xhtml+xml
  • application/xml
  • image/svg+xml
  • image/vnd.microsoft.icon
  • text/css
  • text/html
  • text/plain
  • text/xml

-- Martin

Actions #4

Updated by rickb almost 16 years ago

You might like to add all XML content types - now including application/beep+xml, application/docbook+xml, application/vnd.wap.wbxml and others.

This might be possible using something like the create-mime.assign.pl script to give a list, although whether this would be accurate enough needs to be thought out.

Actions #5

Updated by stbuehler almost 16 years ago

  • Status changed from New to Wontfix
  • Patch available set to No

Just ask your distribution to include this default list.
I really think such lists needs to be explicit mentioned in the config, and i don't like hidden "magic".

And feel free to add such examples in the wiki documentation.

Actions

Also available in: Atom