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
    Jim Nielsen (jimniels@mastodon.social)'s status on Tuesday, 28-Jan-2025 03:07:43 JST Jim Nielsen Jim Nielsen
    in reply to
    • Kaspars

    @kasparsd It seems like it does? For the same HTML page on my deploy preview vs. prod, I was seeing:

    No minification:
    31.6kb in size, 8.7 over network

    Minification:
    19.5kb in size, 6.1kb over network

    In conversation about 4 months ago from mastodon.social permalink
    • Embed this notice
      Jim Nielsen (jimniels@mastodon.social)'s status on Tuesday, 28-Jan-2025 03:07:44 JST Jim Nielsen Jim Nielsen

      📝 I got HTML minification setup (yet again) and finally made a note to self on how to do it the inevitable next time.

      https://blog.jim-nielsen.com/2025/html-minification/

      In conversation about 4 months ago permalink
    • Embed this notice
      Kaspars (kasparsd@mastodon.social)'s status on Tuesday, 28-Jan-2025 03:07:44 JST Kaspars Kaspars
      in reply to

      @jimniels Most web servers compress the content for transport. I wonder if minifying the source has any impact on that compresses size, do you know?

      In conversation about 4 months ago permalink
    • Embed this notice
      Jim Nielsen (jimniels@mastodon.social)'s status on Tuesday, 28-Jan-2025 04:50:14 JST Jim Nielsen Jim Nielsen
      • Rodrigo Ghedin
      • Kaspars

      @manualdousuario @kasparsd idk if I'm convinced that serving human-readable HTML over the wire is helpful…I know it helped me back in the day, but now-a-days we have DevTools and a DOM representation of the HTML which are much more helpful than plain-text.

      That said, i used to have a comment in my HTML that pointed to the source code that generated the HTML but that’s been stripped out. i need to add it back…It at least gave folks the ability to see the source code behind the source code.

      In conversation about 4 months ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/113/902/053/139/518/954/original/cb9bd2af99a023d4.png

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.