82 votes
Accepted

How do I open the JavaScript console in different browsers?

Chrome Opening the “Console” panel of Chrome’s DevTools: Windows and Linux: Ctrl + Shift + J Mac OS: Cmd + Opt + J Note: In addition to the “Console” panel, there also exists a smaller slide-up ...
34 votes

What is the need of methods like GET and POST in the HTTP protocol?

Please note the question has changed/been clarified since this answer was first written. A further response to the latest iteration of the question is after the second horizontal rule What is the ...
user avatar
13 votes

Can I make my site available world wide without renting a hosting server?

You can host a website on a home system, if you like. There is a caveat, though. Some Internet Service Providers (ISPs) don't allow their customers to host their own servers, while others will allow ...
user avatar
  • 231
13 votes

What is the need of methods like GET and POST in the HTTP protocol?

HTTP can be thought of as one specific case of generic principles of Remote Procedure Call: you tell the server what you want with some variable field in the request, the server responds accordingly. ...
user avatar
  • 266
12 votes
Accepted

What is the use case for Fax links in a webpage?

Computers, mobiles and tablets can send fax's with software, its just like sending an email, it was added to rfc2086 15 years ago but it never took off and as far as I know no major browsers support ...
user avatar
  • 32.6k
10 votes

Redirect visitors when site is too busy

When your website is too busy due to a large traffic, the best way of redirection is using custom error documents. So, when a user gets 503 error code, the server will redirect visitors to the custom ...
user avatar
10 votes
Accepted

10 megabyte gzip limit in AWS Cloudfront?

This is a design limitation: The file size must be between 1,000 and 10,000,000 bytes. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html ...
user avatar
9 votes
Accepted

Which is the practical difference between a server and a web server?

"Server" is a generic term that represents a computer that shares something. There are many different types of servers. Some share databases, others share web sites, still others share ...
user avatar
  • 2,846
8 votes
Accepted

Does it make sense to host media on a .onion site on the darknet, or can I link to lightweb as well?

As it turns out, Tor has an OnionTrafficOnly setting. Also, if the site contains links to non-Tor resources, an "exit" is used, which slows down the data download considerably. Thus, it is ...
user avatar
  • 121
7 votes

Is it possible to stop Chrome and other browsers from pre-fetching/rendering my site?

Google Chrome does not send any special headers to prerender requests anymore. See: https://code.google.com/p/chromium/issues/detail?id=86175 https://github.com/nickhsharp/prefetchNightmare
user avatar
  • 171
7 votes

Tradeoffs around using a query string vs embedding version number in the CSS/JS files

Just to clarify, since it's not explicitly mentioned in the question, that the reason for doing this in the first place is to break the client cache (aka "Cache Busting")... As far as I know ...
user avatar
  • 41.3k
7 votes
Accepted

Why does Chrome resolve websitename.localhost as localhost?

From the Wikipedia entry for .localhost (TLD): As a top-level domain, the name has traditionally been defined statically in host DNS implementations with address records (A and AAAA) pointing to ...
user avatar
  • 41.3k
7 votes

Why does Chrome resolve websitename.localhost as localhost?

From https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/ There's a proposal to add the .localhost domain as a new standard, which will make lives of developers way easier. It would ...
user avatar
  • 171
7 votes

What is the need of methods like GET and POST in the HTTP protocol?

From my personal point-of-view as a developer, it can make creating API endpoints much easier. For instance if I write a controller that manages products on a website I can use the same URL to do ...
user avatar
7 votes

Most website visitors don't have Java enabled

Java != Javascript Javascript is a scripting language supported by the overwhelming majority if interactive browsers. Note that I said Interactive browsers - most bots will have extremely limited - if ...
user avatar
  • 5,845
6 votes
Accepted

Getting access to website files without access to the hosting account

It looks like the domain registration for kirrawe.com.au is for Kirrawe Indigenous Corporation which is a good thing. It is proof that the company owns the domain name which at first glance, is not ...
user avatar
  • 32.5k
6 votes

How to hide h1 and h2 tags using JavaScript while still having them for SEO

You can't hide h1 and h2 tags (or any text for that matter) and still have them apply positively to SEO. For several years now, Google has been trying to index precisely what the user sees. Google is ...
user avatar
  • 41.3k
6 votes

What is the need of methods like GET and POST in the HTTP protocol?

What is the need of methods like GET and POST in the HTTP protocol? It seems that you forgot the old days when HTTP servers were there just to serve files; not running script, CGI, or making dynamic ...
user avatar
5 votes
Accepted

Where is the data for items added to a shopping cart stored if not logged into the site?

They use cookies to identify the user, and will link this to their database in order to know what is in their cart. This can be demonstrated by how having items in your cart will not transfer between ...
user avatar
  • 1,925
5 votes

Redirect visitors when site is too busy

It seems like you're aiming for the second-worst outcome. If you're expecting a spike, you have time to do something: Implement in-code caching (can be easy, can take a while to get right) Optimise ...
user avatar
  • 151
5 votes
Accepted

My Chrome Developer Tools is missing the Animation Inspector button

Ah, found another way to get it working: Click the 3 dots to the top right, then More Tools, then select Animations
user avatar
  • 1,329
5 votes

Why would my website language be incorrectly detected, and how do I set it to the right language?

Try this in the <head> section: <meta charset="UTF-8"> <meta name="google" content="notranslate"> <meta http-equiv="Content-Language" content="en">
user avatar
  • 7,606
5 votes
Accepted

Why would my website language be incorrectly detected, and how do I set it to the right language?

One thing to note is that when Google suggests, "This page is in XYZ" and offers translation, it doesn't necessarily mean it thinks the entire page is in that language. Even if it thinks ...
user avatar
  • 4,277
5 votes
Accepted

Google Mobile Usability says "Content wider than screen" even though I can't reproduce that locally and X overflow is set to hidden

I have remove all "position: absolute" from classes. But that classes were assigned to hidden content what fit fine on smallest smartphone screen, also most of them were not connected to any page ...
user avatar
  • 585
5 votes
Accepted

Confusing domain name extensions

TL;DR No one can predict the future (so theoretically the case you present can happen, in practice I wouldn't bet on it), especially because ICANN, in charge of TLDs creation has a lot of rules and ...
user avatar
5 votes
Accepted

Is it possible for a hacker to point another domain at my domain?

Anybody can point any domain to your web server. When this happens it is usually not an attack or a security threat. It is often because some other website used to use your IP address or because ...
user avatar
4 votes
Accepted

Is it possible to compare http requests with download time?

Yes, if load time is lower, you will have optimised the page. Also, the font file will be cached after the first request, so you will most likely end up with only a single request for the font file. ...
user avatar
  • 211
4 votes
Accepted

.com/ vs .com when hosting a website

Some hostings might not have mapping for default file to be used as homepage, thus you might sometimes need to add it. If this is Apache-based hosting(commonly Linux hostings use Apache), you will ...
user avatar
  • 156
4 votes
Accepted

Need help to understand the URL for dynamic content

In short, yes you are correct. The only big part of the equation you are missing is server-side URL rewriting - where essentially a request for http://www.example.com/aaa could be internally ...
user avatar
4 votes

Is warning users on the homepage enough to limit access to 18+ for a website with adult content on it?

This is not legal advice, but I know someone who runs several adult sites. He puts up the warning page with the 18 U.S.C. Section 2257 Compliance Notice and that's it. I'm not sure there is a way to ...
user avatar
  • 66

Only top scored, non community-wiki answers of a minimum length are eligible