file_get_contents() is the preferred way to read the contents of a file into a string, according to PHP documentation. Unfortunately, it isn’t magical and needs some work to make it resilient to networking problems.
The new Brave web browser and Payments automatically rewards the websites their users visit the most with funds volunteered by each user. The more time a user spends on a given website, the more money is rewarded to that website. Time is literally money, and that means website loading performance matters more than ever.
I was inspired by Scott Helme to take another look into Brotli compression for use on the web. As I’m an avid Apache Web Server user, I thought I’d look into the current status of Brotli on home ground.
It’s not every day we see a new web layout engine appear on the market, which makes the new BriskBard internet suite all the more interesting. At first glance, the new BriskBard browser appears to be little more than a Trident-shell building on top of Internet Explorer like so many other web browsers for Windows.…
Hotlink protection is the practice of serving different images based on the HTTP Referer (sic) header. In other words, serving one image when the image is requested from a page on your own website and then serve a different image when it’s served from a page on another website. When websites include images from other…
I recently made a small contribution to the GNOME Web project in the form of a patch to put web standards first when choosing icons for use with their installable web apps. As there were no documentation of how this worked in previous versions, I’ll document this here.
The AppleNewsBot fetches syndication feeds, web pages, and images for the Apple News service. Unfortunately, some sloppy programming in the bot turns it into an unintentional web server load testing tool. Here is what goes wrong when the bot visits websites that uses encryption certificates from the Let’s Encrypt certificate authority.
Keeping any data that doesn’t actually need to be sent back to the server with every request in cookies is inefficient. WordPress by default will save the name, email address, and home page of any user that leaves a comment in three separate cookies. Each subsequent request to the server will then contain this mostly…
More websites block the search engines Baidu and Yandex from indexing them than block Google. Could webmasters’ preference for Google be one of the reasons why many perceive that Google have “better search results” than their competition?
A innocent looking implementation bug in Apache’s new HTTP/2 module (mod_http2) incorrectly announces HTTP/2 support using the Upgrade: h2 header. This simple mistake makes websites inaccessible to YandexBot as well as services built on NodeJS.