Score:0

Reordering Apache Output Filters

ca flag

Is there a way to reorder the output filters for Apache 2.4? I am forced to use something like this because DEFLATE runs before SUBSTITUTE:

AddOutputFilterByType INFLATE;SUBSTITUTE;DEFLATE text/html

(From https://serverfault.com/a/844192/193130)

Seems very inefficient to have to inflate, then deflate again.

John Hanley avatar
cn flag
If Apache is a proxy, then the response might be already compressed. In order to apply substitutions, the response must be decompressed. The final filter applies compression to the possibly modified response. Edit your post to provide more details on how this is being used, the client request including headers, etc.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.