Isn’t socket connection limit applied to when the website host acts like a client and sends request to a different server?
If you link a media from an external website and then visit it then you are the one who sends a request to load that media and not your website.
I believe that to be the case.
Maybe admin will have the answer. I frankly do not know
So my ISP Three is doing a maintenance since 9:30 (now 16:23) and they’re not done yet. The only reason I’m here is because I stole the password of my sister’s WiFi from mom’s phone, and hoping she didn’t yell at me
At least my Wi-Fi is still working, so there’s no need for me to use my mobile data when the coverage in my house is bad…
Happy new year guys!
That’s why i use a few ISPs
Good morning, and happy New Year everyone!
Yea, I think that’s right.
Because the server itself is not opening a new connection, you are.
So the socket limit would only apply to things like cURL / API requests / etc.
Talking about ISPs, one of my WiFi routers is vulnerable to IDOR attacks. I recently wanted to test my wifi router’s security, and I did some research and found out I can perform a wifi router restart without logging in as an admin . Feels terrible about the provider though lol.
Happy new year everyone!
There are pros and cons to having the SVGs as separate files.
Inlining them means there are no additional HTTP requests, but it does inflate the size of your HTML page a bit.
With external links, you do have additional HTTP requests, which (especially without HTTP/2) makes them a bit slower on first load. But you only need to download each icon once, two links on the same page to the same image will only trigger one request, and subsequent pages should load the file from cache. Also, there is more chance for things to break (i.e. an image failing to load).
On free hosting, where hits are limited and bandwidth is (practically) not, there is a strong incentive to inline the SVGs. Without a hits limit, it boils down to personal preference.
If you can link to them on a third party domain (like a CDN), this reduces the load the most of course on your hosting. However, there are also pros and cons to this for performance. Pro: CDN should be faster than site hosting. Con: more DNS lookups, SSL handshakes, etc.
In the client area, all the SVGs are inlined. I don’t think the additional HTML makes for a big difference in page size, and the source templates use includes to keep the templates clear and readable.
Hi all,
First of all, Happy New Year 2024!
As to the SVG topic and in free hosting context, one way of saving resources while avoiding the HTML file size limit (somewhere around 5MB? I didn’t take note of that… lol) is to host the svgs on GitHub. It’s code so Github is also a good candidate to host those.
Simply link the raw format of those and include it back into the HTML page and you got yourself CDN accelerated svgs that do not consume hits and inode.
Cheers!
is to host the svgs on GitHub
But that has the same downfall as described here:
Con: more DNS lookups, SSL handshakes, etc.
Yes, it would have those downfalls, but its free🤣
Suggest to use custom CSS in the future as Bootstrap is becoming Bloatstrap
LOL I’m proud of you.
I only used Bootstrap 4 to 5, the styling on the input is the reason for the goto but components like dropdown and popup elements never worked too well. It simply gave the Bootstrap look and feel to much to a point where websites no longer stand out by design. Eventually I custom coded everything instead.
TBH, I don’t like Bootstrap at all. I prefer CSS instead. But Bootstrap will make your work easy if you like to make your website device compatible at the same time (which every developer desires), but for some reason I hate Bootstrap.
I didn’t take note of that… lol) is to host the svgs on GitHub. It’s code so Github is also a good candidate to host those.
I’ve had quite some problems in the past with the GitHub artifact store being unreliable. Mostly with CI pipelines that pulled a lot of stuff from GitHub that all broke down because GitHub ran out of credit on Azure.
Yes, GitHub is free and it supports direct linking. But it’s not a CDN and is not intended to be used that way. An actual CDN should be both faster and more reliable.
I only used Bootstrap 4 to 5, the styling on the input is the reason for the goto but components like dropdown and popup elements never worked too well. It simply gave the Bootstrap look and feel to much to a point where websites no longer stand out by design. Eventually I custom coded everything instead.
TBH, I don’t like Bootstrap at all. I prefer CSS instead. But Bootstrap will make your work easy if you like to make your website device compatible at the same time (which every developer desires), but for some reason I hate Bootstrap.
The cool kids nowadays all use Tailwind CSS, which provides very similar utility classes as Bootstrap without all the standard components. So you can have a unique design without having to reinvent the wheel for responsive content.
I do like Bootstrap a lot. But I have learned that any framework works best if you play within it’s rules. The more custom CSS you add, the bigger mess it becomes.
I do like Bootstrap a lot. But I have learned that any framework works best if you play within it’s rules. The more custom CSS you add, the bigger mess it becomes.
Yes, CSS can be quite a mess on a larger project, but I don’t know why I hate Bootstrap. But I am taking a peek at Tailwind.
HTTP/2 has been disabled
I thought the rest of the world uses http/2, including me
Cloudflare still has it enabled anyway; that part refers to who pointed to free hosting servers directly, without proxying. Even my website uses HTTP/2 and still has support for QUIC which is still not implemented thanks to Cloudflare…