Computer Science, asked by ankit65211p8hrne, 1 year ago

how can you identify whether a website is commercial or not ?long answer

Answers

Answered by Praneeth331
8
1. Look at the HTTP headers (View -> Developer -> Developer Tools in Chrome for example) and see if any server-side engines have added headers (for example, "X-Powered-By: Express" indicates Express running in Node.js, which is likely dynamic but not always).

2. Simple, but reload the page a few times and see if anything changes.  Even static pages can have embedded ads though, that change per load, but the page is still served static. So changing ads are not an absolute indicator of a dynamic site.

3. Try to figure out how long the server takes to respond. In Chrome for example, open View -> Developer -> Developer Tools.  Reload the page, and look for the network communication to the top page.  Click on the Timing tab if you see it. This will tell you how long it took the server to respond.  There is no hard and fast rule, but ... if the server responded within maybe 100 milliseconds, then the page is likely static (or cached). If the server needs to run a bunch of code to generate the page, then the response time can be more.  This also depends on how far away you are from the server, and how complicated the page was to generate dynamically, so you might want to test multiple URLs.

4. There is no sure-fire way to tell.  Even dynamic engines like Express or Tomcat can serve static pages. And, sometimes dynamic pages will come very fast with no identifying header.

5.  Take a quick look at the source code for the HTML page. Sometimes the engine will insert a "powered-by" notice near the top.

6. If you can't log in, it might be static.
Answered by OfficialPk
3
mark as a brainlist


hope this helps you
Attachments:
Similar questions