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 ...
20
votes
Accepted
Why do oversized images appear better than images that are the correct size on the web?
It's most likely due to viewing images on retina and high density screens.
Before the introduction of Retina-class displays, the average screen
density was far lower. Web-based images included enough ...
14
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 ...
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. ...
11
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
...
11
votes
Why do oversized images appear better than images that are the correct size on the web?
(This a basically the same as Pete's answer, just written from a different angle.)
Because CSS "pixels" aren't really pixels anymore (and haven't been for quite a while).
So what is a pixel,...
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 ...
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 ...
8
votes
Why do oversized images appear better than images that are the correct size on the web?
In addition to @Pete's excellent answer, it's also possible the images you are using are overcompressed. When you scale down a large image it has more information to work with and so it can appear ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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">
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 ...
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 ...
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 ...
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 ...
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 ...
4
votes
Accepted
Is warning users on the homepage enough to limit access to 18+ for a website with adult content on it?
There is no way to do ensure someone is over 18 without additional work (either from you or the viewer or both).
Having people register and require scanned ID or similar could work, as could require ...
4
votes
Can I make my site available world wide without renting a hosting server?
Yes you can host it on your own server. If you have a static IP, just set up your network as if are a server and this should work. There is plenty to be found on the matter.
You don't need a ...
4
votes
Can I make my site available world wide without renting a hosting server?
You can start out hosting it on your own computer. I started out hosting my first website on my own computer. Now I make my living from websites. But when you do so, be aware:
Your home is ...
4
votes
How do real estate websites like Zillow host pages for every address in their database?
As with any other page detection in Google it is done through linking. Zillow doesn't host every single address as a page rather it is being done using a single page template and a database of ...
4
votes
Accepted
Enabling Multiviews is how you make a web server able to open links with missing extensions?
tl;dr Yes, you can enable MultiViews to serve extensionless URLs. ie. Where the file extension is omitted from a URL that would otherwise map to an existing file. However, be aware of potential ...
4
votes
Accepted
Legal Ramifications Of Constantly Checking A Website
As mentioned by Stephen Ostermiller, you have several options.
1. Asking Owner
Ask the owner of the site directly. Of course, this could be a scary thought... but I think that's the best way if you ...
4
votes
How can I protect my users' privacy when social share buttons may be pre-fetched?
The buttons themselves don't need to be loaded from the social site at all. For example, both Facebook and Twitter let you simply open a window with a special URL, which shows a "New post" window with ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
web-development × 764website-design × 113
seo × 106
web-hosting × 84
html × 64
php × 42
css × 38
security × 33
javascript × 31
wordpress × 30
google × 29
domains × 29
server × 21
cms × 21
htaccess × 17
web-applications × 17
url × 16
search-engines × 16
webserver × 16
apache × 14
ecommerce × 14
legal × 14
http × 14
mysql × 13
database × 13