Published at
Updated at
Reading time
1min
This post is part of my Today I learned series in which I share all my web development learnings.

If you're publishing content on the web, it's good to know when Google indexed new or updated pages. Today I learned that you can access the cached version (if there is one) right from the URL bar by prepending cache: to the URL. 😲

Example showing how prepending "cache:" to a URL leads to the Google cached version.

A URL such as cache:https://www.stefanjudis.com redirects to the recent Google-indexed version available under http://webcache.googleusercontent.com.

Edit: As it turns out this is a Google Search rather than a browser feature. When Google is your default search engine, the cache: prefix works because it works in Google Search itself. 🤦‍♂️

Google search with the query "cache:https://www.stefanjudis.com"

Was this TIL post helpful?
Yes? Cool! You might want to check out Web Weekly for more quick learnings. The last edition went out 7 days ago.
Stefan standing in the park in front of a green background

About Stefan Judis

Frontend nerd with over ten years of experience, freelance dev, "Today I Learned" blogger, conference speaker, and Open Source maintainer.

Related Topics

Related Articles