XMPP Service Operators - 2021-01-14


  1. david1998

    Hola

  2. Arne

    Hi

  3. 404.city

    Arne, Do you understand the basic principles of browsers? If the browser has downloaded the script once, on any site it does not download the script a second time. Have you ever wondered how this can significantly speed up page loading? Ie the page is loaded on a slow connection not 2-3 minutes, but a couple of seconds?

  4. 404.city

    Arne, Did you know that cloudflare provides open source scripts for sites and oh yeah! They have built-in protection? << integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous" >>

  5. 404.city

    <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/js/bootstrap.min.js" integrity="sha512-8qmis31OQi6hIRgvkht0s6mCOittjMa9GMqtK9hes5iEQBQE/Ca6yGE5FsW36vyipGoWQswBj/QBm2JR086Rkw==" crossorigin="anonymous"></script>

  6. 404.city

    Arni Bro, what a horror. I have embedded this script in this chat, NOW REPTILIAN KNOW EVERETING ABOUT YOU!!! Didn't it boot? RIGHT!!! It should not be loaded in the browser either, but should be from the cache of your browser

  7. 404.city

    Arne, If you have Twitter loaded in scripts, I recommend checking your plugin for blocking scripts for viruses. The share button on Twitter was made, without javascript scripts and load images. But you probably just don’t know the difference between "Twitter Bootstrap" and "Twitter"

  8. tom

    » <404.city> Arne, Do you understand the basic principles of browsers? If the browser has downloaded the script once, on any site it does not download the script a second time. Have you ever wondered how this can significantly speed up page loading? » Ie the page is loaded on a slow connection not 2-3 minutes, but a couple of seconds? It's not

  9. tom

    It's actually slower

  10. tom

    The HTTP protocol itself has headers for caching and how log

  11. tom

    You should not use javascript at all, unless you absolutely have to and there's no other way

  12. tom

    If you care about performance and accessability

  13. tom

    The html has to finish loading before you can even begin to startup the jvm

  14. tom

    Vs

  15. tom

    Html being streamed in as it receives a element closure

  16. tom

    Then images loading

  17. tom

    (jpegs can be encoded to support progressive scan)

  18. tom

    Or you can use SVGs

  19. tom

    If you use an external CDN you lose control over latency for your site

  20. tom

    Even if you use a geographiclly close CDN, it's going to be slower because now you have to setup 2 TCP sessions sequentially, with TLS on top

  21. tom

    Vs if you just used plain html

  22. tom

    Serving things yourself on your own server

  23. tom

    https://anybrowser.org/campaign/

  24. 404.city

    https://xmpp.404.city:5280/usershare/6d33720a4a94189f7b96d206ee5f6128196decf2/asa4zw5TzuiMiNRGdhD02PawBoPMwPe4Yp2mtzPa/Screenshot_from_2021-01-14_04-38-07.png

  25. 404.city

    tom, Thanks for the helpful advice ... There is a hint in chrome, for those who do not understand the headers, that the content is cached. In this screenshot you can find this place. In this screenshot you can find this place. На этом скриншоте вы можете найти это место. On this screenshot you can find this place. На этом скриншоте вы можете найти это место.

  26. 404.city

    tom, Thanks for the helpful advice ... There is a hint in chrome, for those who do not understand the headers, that the content is cached. In this screenshot you can find this place. In this screenshot you can find this place.

  27. tom

    Oh

  28. tom

    You can use webbrowser

  29. tom

    It provides much better HTTP debugging tools

  30. tom

    Hold on

  31. 404.city

    tom, This is a screenshot from the browser

  32. tom

    https://upload.nuegia.net/2c79b375-8912-4663-9668-589525c08eb3/screenshot_016.png

  33. tom

    Also

  34. tom

    Chrome's caching is very buggy

  35. tom

    Like

  36. tom

    Things don't refresh when you press refresh or tell it not to cache

  37. tom

    It's also not a really good litmus test for web interop

  38. tom

    Since the blink engine is more optimized for running google's webapps rather than viewing web pages efficiently

  39. christian

    404.city: You never need the whole bootstrap. Usually you only need "util.JS". Or one or two more. And even if you don't need the whole bootstrap CSS, it's a development mistake to ping cloudflare every time from every connected IP, and it's definitely a mistake to download half a mega every time you send 2 letters in a chat. If you're too lazy to pick what you need and would rather do one hell of a traffic, stop developing for god's sake.

  40. tom

    https://upload.nuegia.net/3ae80218-17e4-4568-b269-0c8e6f3837a2/screenshot_017.png

  41. tom

    I'd argue that using bootstrap is a terrible mistake

  42. 404.city

    tom, Pay attention to the title on your screenshot. The "last modification"

  43. tom

    Just write the data in the HTML

  44. tom

    Then write a few CSS rules to add borders and good contrast and set a front

  45. tom

    Then your done

  46. 404.city

    christian, Where do you see the chat on this page?

  47. tom

    https://www.nuegia.net/style.css

  48. 404.city

    > ‎tom‎: Just write the data in the HTML This is not just a date, if you were a web application developer, then you would know that this header needs to be set manually and it is responsible for caching

  49. tom

    404.city: nginx has a very powerful syntax for setting caching headers

  50. tom

    Set a ttl

  51. tom

    Or a date

  52. tom

    Keep static objects in sane paths, then just apply caching rules that make sense for the path

  53. tom

    There's two main kinds of caching in http

  54. tom

    The kind where you tell the browser to keep the resource, and the kind you tell the browser to keep the resource but check back if it's been modified

  55. christian

    404.city: Don't worry, if I criticise you, you are valuable. I don't criticise everyone.

  56. tom

    It's the difference between a http 301 and no http request at all

  57. tom

    For example on my CDN that handles the http-upload XEP I set location / { perl upload::handle; expires modified +60d; add_header Cache-Control private; }

  58. tom

    Since I delete files 60 days after they've been uploaded

  59. tom

    And it's a static resource prepended with a guid so it's not going to change

  60. tom

    Oh, btw there's an interesting cache control parameter "IMMUTABLE" which is intended for content-addressable object stores

  61. tom

    Like IPFS

  62. 404.city

    From your paronial advice and unrepeatable fears, the Internet works slower and this is very noticeable for Internet users with slow connections. It doesn't increase privacy and security in any way, it looks like a cargo cult https://en.wikipedia.org/wiki/Cargo_cult

  63. tom

    I've been thinking about integrating IPFS into my cdn so that if users are still interested in files after to 60d purge than it's still accessible, and I can just use ipfs daemon's built in garbage collector instead of a time based thing

  64. 404.city

    https://xmpp.404.city:5280/usershare/6d33720a4a94189f7b96d206ee5f6128196decf2/9RMjzCeLITZGf0JqfBUIWbRqU0lIe8xWOnpn0avL/download__12_.jpeg

  65. tom

    404.city: the only cargo-culting going on is the people who ADD javascript to their site, thinking it will make it faster

  66. tom

    You don't add to websites to make them faster you remove

  67. tom

    And you leverage fine control of HTTP's headers

  68. tom

    The web developers that can't code html and css themselves, and have to import some """framework"""

  69. tom

    Or use wordpress and install a bunch of ""optimization plugins""

  70. 404.city

    tom, The saddest thing is that you mislead other people who understand it even less. I gave you a screenshot from the browser that proved it was cached, but you continue to prove that it is not. This explanation was signed by the developers in the browser especially for you.

  71. 404.city

    tom, https://xmpp.404.city:5280/usershare/6d33720a4a94189f7b96d206ee5f6128196decf2/asa4zw5TzuiMiNRGdhD02PawBoPMwPe4Yp2mtzPa/Screenshot_from_2021-01-14_04-38-07.png

  72. tom

    404.city: you misunderstand

  73. tom

    I'm saying you shouldn't rely on Jquery at all

  74. tom

    That you should remove to dependence of jquery from you site

  75. 404.city

    https://xmpp.404.city:5280/usershare/6d33720a4a94189f7b96d206ee5f6128196decf2/Z1M1x2QJzNDgB72CYbgZ0wiCVr53SOvAUTybbfJg/bootstrap.png

  76. tom

    Gross

  77. tom

    And not privacy conscious

  78. 404.city

    tom, You have already downloaded this file on other sites, and after that you worry.

  79. tom

    No i haven;t

  80. tom

    I disable javashit

  81. tom

    I don't browse sites that only work in firefox/chrome

  82. tom

    Or require excessive resources

  83. tom

    2gb of ram to display a paragraph on text on a screen

  84. tom

    It's inexcusable

  85. tom

    Ability to get into a fucking botnet, just by visiting a web page

  86. 404.city

    tom, Well, let's just say so. Sites shouldn't have javascript at all...

  87. tom

    Popups, ads, cookie notices

  88. tom

    For example

  89. tom

    Use invidious or straw-viewer to access youtube without javashit or modern web retardation

  90. tom

    https://upload.nuegia.net/03cfe502-2bd1-4fdb-abe6-871f97e907f1/web-color.png

  91. tom

    https://upload.nuegia.net/b02e658d-5504-484d-8e00-5526702c3654/noajax.png

  92. tom

    Html5 and google chrome are just the new internet explorer 5

  93. tom

    And active x

  94. tom

    https://drewdevault.com/2020/03/18/Reckless-limitless-scope.html

  95. Arne

    I'm sorry 404.city this really shouldn't end up in such discussion. It has been more a question vor a hint. I was just wondering why you implemented it. Also I actually couldn't open the link with activated dns blocker. But it's maybe just me.

  96. Arne

    Nevertheless we should be helping us here actually. Maybe you could remove some script parts? I also had difficultis removing all this unneeded parts from my sites (and maybe there still is some left...), but never had this problem.

  97. Arne

    Nevertheless we should be helping us here actually. Maybe you could remove some script parts? I also had difficultis removing all this unneeded parts from my sites (and maybe there are still is some left...), but never had this problem.

  98. Arne

    which also let me think about changing some things at my sites...

  99. Arne

    .

  100. 404.city

    tom, Remove your screenshot with open browser console, if you care about your privacy)

  101. tom

    Why?

  102. 404.city

    /

  103. gnu

    > The web developers that can't code html and css themselves, and have to import some """framework""" You serious?

  104. gnu

    Why re invent the wheel for every single website

  105. gnu

    Being able to cache jQuery once and using it in every site isnt this bad

  106. gnu

    Was I kicked or did I leave by accident :(

  107. mathieui

    you left by accident

  108. Ge0rG

    Yeah, what's wrong with dumping megabytes of JavaScript into your web page?

  109. gnu

    > you left by accident Thx lol

  110. mjk

    Caching stuff == being vulnerable to the oh-so-easy fingerprinting

  111. mjk

    Decentraleyes helps, I guess, but feels like a band-aid. If browser is a platform for applications, why doesn't this "platform" provide the basic libraries "every site" uses?

  112. gnu

    Having every version of jquery and bootstrap is bloat :P

  113. gnu

    Btw this exists for what you said https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/

  114. mjk

    > /me said: > Decentraleyes helps, I guess, but feels like a band-aid.

  115. mjk

    Whoops, that's a first for me. I edited my last message instead of quoting. Usually I f-up the other way around

  116. mjk

    I'll paraphrase my original message. Decentraleyes helps, I guess, but feels like a band-aid. If browser is a platform for applications, why doesn't this "platform" ship the libraries "every site" is using?

  117. mjk

    > Having every version of jquery and bootstrap is bloat :P The use of the entire version zoo of a lib across the web is partly explained by the fact that devs are used to and _expect to continue_ being able to use the latest and greatest, instead of a stable standard API. Same probably goes for said lib's developers, who expect everyone to just bundle-and-forget, "live at HEAD", etc. So they feel free to break compat at every opportunity. The result is sites that each require fifteen different versions of jquery at different abstraction levels of their framework

  118. mjk

    _That_ is bloat

  119. briest

    Hello. Looking for contact to admins/mods of gajim@conference.gajim.org and ejabberd@conference.process-one.net. I got somehow banned from these rooms, and have no idea why; I'm only lurker... maybe something with my server?

  120. Tim

    briest: In the Gajim room (where I relayed your message), wurstsalat says: > I can't have a look at the moment, but I will tomorrow, if nobody did by then :)

  121. briest

    Tim: thanks