What is the difference between an F5 (refresh) of a page and pasting that URL in a new window and clicking enter?
Any help is appreciated
In all modern Internet browsers, pressing F5 refreshes or reloads the page or document window. When pressing Ctrl + F5 , it forces a complete refresh of the web page, clearing the cache and downloading all contents of the page again.
F5 is a standard page reload. Ctrl + F5 refreshes the page by clearing the cached content of the page. Having the cursor in the address field and pressing Enter will also do the same as Ctrl + F5 .
For example, if you are on a web page, refreshing the page displays the most recent content published on that page. Essentially, you're asking the site to send your computer the newest version of the page you're viewing. 2. The refresh button, also known as the refresh option, is a function of all Internet browsers.
If you press F5 again, the page will refresh.
It depends on the caching policy for the page and the method used for fetching the page in the first place. If you fetched the page via a POST, a refresh will re-send the POST data while putting the URL in a new window will issue a GET to the server.
If the original request is a GET, the behaviour depends on how the current page is cached. Hitting refresh will cause the browser to check back with the server for the page (but not necessarily any scripts or images). If the page is set to be cacheable then pasting the URL in a new window might well just pull the page out of cache without hitting the server.
Note that checking with the server won't necessarily cause the page to be regenerated or redownloaded as the browser can issue a conditional GET or a HEAD request to check whether the page has actually changed since last fetched. Also, while some of the actions might pull the page from the cache, there's no guarantee it will (and dynamically generated pages usually have to be set up properly to be considered cacheable at all).
Refreshing a page does NOT explicitly refresh your cache. It will do a fresh GET, but anything cached stays cached. If you hit CTRL-F5, however, you'll refresh with a cache.
Copy and pasting will just get another fresh copy of the site with a GET, not ignoring cache.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With