GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Erin 💽 (erincandescent@queer.af)'s status on Saturday, 23-Dec-2023 06:41:28 JST Erin 💽 Erin 💽
    in reply to
    • mcc

    @mcc the (difference between "gzip" and "deflate" is gzip has 12 bytes more overhead and a slightly slower checksum)

    In conversation Saturday, 23-Dec-2023 06:41:28 JST from queer.af permalink
    • Haelwenn /элвэн/ :triskell: and feld like this.
    • Embed this notice
      mcc (mcc@mastodon.social)'s status on Saturday, 23-Dec-2023 06:41:30 JST mcc mcc
      in reply to

      @erincandescent you mean, they have shied away from deflate [headers] and preferred gzip [headers]?

      In conversation Saturday, 23-Dec-2023 06:41:30 JST permalink
    • Embed this notice
      Erin 💽 (erincandescent@queer.af)'s status on Saturday, 23-Dec-2023 06:41:30 JST Erin 💽 Erin 💽
      in reply to
      • mcc

      @mcc browsers these days tend to prefer "gzip" over "deflate". webservers often only implement "gzip"

      all this becuase nobody has ever misimplemented gzip, but Microsoft did once in the 90s misimplement "deflate"

      In conversation Saturday, 23-Dec-2023 06:41:30 JST permalink
      feld likes this.
    • Embed this notice
      Erin 💽 (erincandescent@queer.af)'s status on Saturday, 23-Dec-2023 06:41:32 JST Erin 💽 Erin 💽
      in reply to
      • mcc

      @mcc generally yes

      Old (we're talking ancient) versions of IIS would send a raw deflate stream for "deflate" (without zlib headers) so everyone has shied away form it and preferred deflate ever since

      (who can blame them, the encoding token should be "zlib"...)

      In conversation Saturday, 23-Dec-2023 06:41:32 JST permalink
    • Embed this notice
      mcc (mcc@mastodon.social)'s status on Saturday, 23-Dec-2023 06:41:34 JST mcc mcc
      in reply to

      @erincandescent So should I assume that any browser which supports (ie, declares support for) deflate will necessarily always support (ie, declare support for) gzip?

      In conversation Saturday, 23-Dec-2023 06:41:34 JST permalink
    • Embed this notice
      Erin 💽 (erincandescent@queer.af)'s status on Saturday, 23-Dec-2023 06:41:35 JST Erin 💽 Erin 💽
      in reply to
      • mcc

      @mcc gzip is "deflate with gzip headers" and "deflate" is "deflate with zlib headers"

      why do we have both? historical reasons...

      In conversation Saturday, 23-Dec-2023 06:41:35 JST permalink
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      mcc (mcc@mastodon.social)'s status on Saturday, 23-Dec-2023 06:41:36 JST mcc mcc
      in reply to

      Wait. Wait! I've figured out the most reliable way to figure out whether it's working or not. I simply put *different content* in the .css file than I put in the .css.gz file. And based on this… it's not working. The recommended configuration block from the Apache manual does nothing at all. I am at a loss how, or whether, to proceed.

      In conversation Saturday, 23-Dec-2023 06:41:36 JST permalink
    • Embed this notice
      mcc (mcc@mastodon.social)'s status on Saturday, 23-Dec-2023 06:41:36 JST mcc mcc
      in reply to

      Chrome's headers say it will accept any of "gzip", "deflate", or "br". Is "gzip" different from "deflate"? man gzip seems to suggest it… sometimes? always? deflates?

      br is … "brotli"? is it good?

      In conversation Saturday, 23-Dec-2023 06:41:36 JST permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/111/616/696/157/016/024/original/6acc485534807310.png
    • Embed this notice
      mcc (mcc@mastodon.social)'s status on Saturday, 23-Dec-2023 06:41:38 JST mcc mcc
      in reply to

      *head in hands* wait. So the x-gzip-canary header is in the FIlesMatch. If I download https://domain/styles2.css, I do not see the x-gzip-canary in Chrome. But if I download https://domain/styles2.css.gz, I *do* see the header. So… what does that mean? That the FilesMatch only applies to manually-dialed .css.gz files? Or that the IfModule block is not rewriting as I expect it to?

      In conversation Saturday, 23-Dec-2023 06:41:38 JST permalink

      Attachments



    • Embed this notice
      mcc (mcc@mastodon.social)'s status on Saturday, 23-Dec-2023 06:41:39 JST mcc mcc
      in reply to

      Related question: Say I'm using the magic conf block from https://httpd.apache.org/docs/2.4/mod/mod_deflate.html#precompressed

      But also it appears mod_gzip or mod_deflate or something is on— I don't remember enabling it, but https://www.giftofspeed.com/gzip-test/ says it's on.

      How do I test whether it is mod_deflate or this weird mod_header trick which is handling any one request? In other words, how do I verify this paste block is doing anything at all?

      In conversation Saturday, 23-Dec-2023 06:41:39 JST permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/111/616/575/130/178/670/original/36ebbf3ec18d9938.png
      2. Domain not in remote thumbnail source whitelist: httpd.apache.org
        mod_deflate - Apache HTTP Server Version 2.4
      3. Domain not in remote thumbnail source whitelist: www.giftofspeed.com
        GZIP Compression Test | GiftOfSpeed
        Test if Gzip or Brotli is working on your website. Brotli is a better, and newer compression method compared to Gzip.
    • Embed this notice
      mcc (mcc@mastodon.social)'s status on Saturday, 23-Dec-2023 06:41:39 JST mcc mcc
      in reply to

      One more question: Say I'm using the above block, and I take Measures ("Header append X-gzip-canary Yes", as recommended by Vriska Serket, who follows me here on Mastodon) to check if the .gz cache is being accepted. And it's not being accepted.

      Should I expect an <IfModule mod_headers.c> *inside* a <VirtualHost> block to work as expected (IE, to both work, and to only apply to the specific VirtualHost of that block)?

      In conversation Saturday, 23-Dec-2023 06:41:39 JST permalink
    • Embed this notice
      mcc (mcc@mastodon.social)'s status on Saturday, 23-Dec-2023 06:41:40 JST mcc mcc

      If I enable mod_gzip in apache, and a large-ish but highly compressible file gets accessed 100,000 times, will apache gzip it 100,000 times or will it gzip it once and cache the gzipped version?

      In conversation Saturday, 23-Dec-2023 06:41:40 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.