6 Apr 2024 |
Ashley (she/her or per/pers) 🏳️⚧️ | In reply to @samantazfox:pussthecat.org Holy moly! That's a huge file! some people just dont clear their history ig | 16:32:42 |
Samantaz Fox | DaKnig we only use the URL (titleUrl ) | 16:33:02 |
@daknig:matrix.org | ... | 16:33:09 |
Samantaz Fox | Though, you can resuce that to ?v=abcdefgh | 16:34:13 |
@daknig:matrix.org | are files uploaded as text or compressed? | 16:34:58 |
@daknig:matrix.org | if compressed, then why the ridiculously low size limit of 1MB? you dont store 1MB anyway... | 16:35:33 |
@daknig:matrix.org | In reply to @samantazfox:pussthecat.org Though, you can resuce that to ?v=abcdefgh have you tested it? | 16:36:14 |
@daknig:matrix.org | In reply to @samantazfox:pussthecat.org Though, you can resuce that to ?v=abcdefgh also potentially this could be done client-side to reduce traffic | 16:36:32 |
Samantaz Fox | In reply to @daknig:matrix.org are files uploaded as text or compressed? that depends on your client. The server should handle gzip and deflate | 16:37:09 |
@daknig:matrix.org | the standard web client? | 16:37:33 |
Samantaz Fox | No, I haven't tested it, but I looked at the code, and I can tell that we only extract the ?v=id part of it. | 16:37:46 |
Samantaz Fox | And no, it can't be done client side, because invidious is mostly JS free | 16:38:06 |
Samantaz Fox | that's defeat that purpose | 16:38:10 |
Samantaz Fox | that'd* | 16:38:16 |
Samantaz Fox | What do you mean by "default web client"? | 16:38:37 |
@daknig:matrix.org | In reply to @samantazfox:pussthecat.org No, I haven't tested it, but I looked at the code, and I can tell that we only extract the ?v=id part of it. ah, regex. | 16:38:41 |
Samantaz Fox | the web client is your browser | 16:38:47 |
@daknig:matrix.org | I guess that's what I mean then | 16:39:05 |
@daknig:matrix.org | it's not completely js free though | 16:40:25 |
Samantaz Fox | hence the "mostly" | 16:40:36 |
@daknig:matrix.org | well I am not arguing, just thought we could improve the lives of users | 16:40:40 |
Samantaz Fox | you can use all invidious features without JS | 16:40:48 |
Samantaz Fox | But that won't improve mine xD | 16:41:01 |
@daknig:matrix.org | "if js enabled: try to compress the thingie to reduce power usage and network traffic" | 16:41:20 |
@daknig:matrix.org | 🤷 | 16:41:27 |
@daknig:matrix.org | thanks for your work, I am making a gtk client :) | 16:41:43 |
Ashley (she/her or per/pers) 🏳️⚧️ | i mean i just add librejs support to my js code | 16:41:44 |
Ashley (she/her or per/pers) 🏳️⚧️ | if i have to use js | 16:41:48 |
Samantaz Fox | compressing is the browser job, btw | 16:42:04 |
@daknig:matrix.org | In reply to @samantazfox:pussthecat.org compressing is the browser job, btw but the browser cannot know that you only use those bits | 16:42:22 |