75

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 console which can be toggled via Esc while any of the other panels is active. Full documentation Firefox Opening the “Console” panel in Firefox’s Developer ...


35

Google makes reference to gzip and image/binary files at Minimize payload size Don't use gzip for image or other binary files. Image file formats supported by the web, as well as videos, PDFs and other binary formats, are already compressed; using gzip on them won't provide any additional benefit, and can actually make them larger. To compress images, see ...


34

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 need of methods like GET and POST in the HTTP protocol? They, along with a few other things like header formats, rules for how headers and bodies are separated,...


13

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 you to do so. An ISP that doesn't allow home users to host their own servers may block traffic on the ports commonly used by servers. E.g., it can stop someone ...


13

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. By now, due to the complex interactivity of ‘Web 2.0,’ these same features are shoved in every field on the request: the URL, headers, the body—and each ...


12

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 href="fax:" they do however support href="tel:" that can be used just the same to send a fax using software. 2.3 "fax" URL scheme The URL syntax is ...


10

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 error document page you have defined. There are different ways for different servers to customize error document pages. 1. For Apache server, add the ...


9

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 Compressing files is resource-intensive, so the designers of CloudFront placed an upper bound on the size of files that CloudFront will spend resources compressing on-...


9

"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 files and pictures. IIS is an application, like WordPress, that runs on the server. In that regard, the terms IIS and server are synonymous. Technically, it is a ...


7

Actually, Linotype does offer a Neue Helvetica font that's licensed for web use. Web-safe Alternatives But if you don't want to pay for the web license, the obvious web-safe alternatives to Helvetica Neue are Helvetica and Arial. If you simply use sans-serif, it'll default to the user's platform's default sans serif font, which is typically: Helvetica ...


7

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


7

Joey, you asked several questions there, some answers are going to be personal preference, some others I have done myself and think they might apply to you as well. So, here it goes: Deal with it The web changes. A lot. Work done several years ago cannot and should not apply today. I have no clue on how many work references you have, but assuming you are ...


7

From the Sophos KB If you believe that the URL has been blocked on the basis of hosting malware, but you think this is a false positive, go to the reassessment request form: https://www.sophos.com/en-us/threat-center/reassessment-request.aspx to submit a request to Sophos to reassess the site. Ensure that you complete all the fields. If you are not a Sophos ...


7

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... As far as I know the only reason to use an "embedded version number" in the filename itself over using a "dynamic" query string was that some (outdated?) proxy servers did not cache URLs that varied only by ...


7

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 mean site.localhost and everything at *.localhost would automatically translate to 127.0.0.1, without /etc/hosts or dnsmasq workarounds. Refer the RFC here.


7

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 multiple different operations. Examples: GET https://example.com/api/products/1234 This will fetch the details of product 1234. POST https://example.com/api/...


7

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 any - support for Javascript Java is a (semi-compiled) programming language which is largely cross platform but requires additional software to run.


6

It seems to me that you have nothing to lose in contacting your old client to see if they require work to be done to their website. You will achieve nothing by not asking and it could be profitable if you do. You don't have to be so blunt by saying "your site looks terrible", simply regaining contact and enquiring about work could be sufficient. You cannot ...


6

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 your root problem, but an element of proof and an important one. Second, I see the name Duane Norman. I am assuming that the company wrote checks and had some ...


6

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 the same loopback addresses. However, as you have found, it would appear that it's just Chrome and later versions of Opera (possibly the WebKit browsers, so ...


6

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 able to intelligently process CSS and now JavaScript to achieve this goal. If the user doesn't see it then there is no point it being indexed. Delivering ...


6

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 content of that sort. The request methods are basic standardized set of verbs on what to do with those files... GET means download HEAD means get information ...


5

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 different browsers (which do not share cookies), and also how if you clear your cookies (specifically one they set called session_id), then your basket will be ...


5

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 static files (jpegoptim, optipng, more-css, etc) to reduce bandwidth, speed things up for all users. Move your static stuff to a CDN to remove those requests ...


5

Ah, found another way to get it working: Click the 3 dots to the top right, then More Tools, then select Animations


5

Try this in the <head> section: <meta charset="UTF-8"> <meta name="google" content="notranslate"> <meta http-equiv="Content-Language" content="en">


5

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 that just a very small part of the page is in that language it offers the same option to translate the page. In your example, if you click on the translate link, ...


5

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 element, because elements were password protected. I found a way to quicker render pages, not waiting long time after clicking "request indexing". First create new ...


5

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 procedures, that change over time, with decisions that can later be appealed, reversed, upheld, and redone. So expect the unexpected. Now, in more details (the ...


4

Run this code on your browser’s JavaScript console:- (function findDuplicateIds() { var ids = {}; var all = document.all || document.getElementsByTagName("*"); for (var i = 0, l = all.length; i < l; i++) { var id = all[i].id; if (id) { if (ids[id]) { console.log("Duplicate id: #" + id); ...


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