Each activity on a website has a timestamp. This timestamp is usually useful for knowing when a website was last updated. This is done through several methods. the Sitemap can be used, various Web archive services and a script based on JavaScript and others can also be used in the same way.
How to know when a website has been updated for the last time
The following methods can be used in cases where someone wants to follow the development of a page.
- With a JavaScript.
- Use of the site map of the site.
- Use the Google cache
1) With a script based on JavaScript
Open the website that you need to check. Hit it F12 key on your keyboard.
He will open the development tools sign. in the Console tab, type the following and press Enter:
javascript:alert(document.lastModified)
An alert will be invoked on the page you were looking for. It will contain the date and time of the update of the page.
2) Using the site map of the site
Open the root URL of the website you want to check.
Add the following in the prefix of the URL:
/sitemap.xml
If you are trying to find out when a website has been updated for TheWindowsClub.com, type TheWindowsClub.com/sitemap.xml
Press Enter to load the site map with all details of the website last updated.
3) Use the Google cache
You can launch your browser and add the URL of your web page to it:
https://webcache.googleusercontent.com/search?q=cache:
When the cached version opens, at the top you will see a sentence – This is a snapshot of the page as it appeared on DATE / TIME. This indicates the last update of the web page.
You can also use Google Cache Checker by visiting this page.
Enter the URL of the website you want to check in the text box and complete the Verification of the image.
To select Submit to get the timestamp of the last update of the website.
Chrome browser users can use cache checker extension for this, as well as.
I hope these methods work for you.
Read more: How to display archived or cached web pages on the Internet.