Clear Web Cache and Moving Browser Cache Folder

How to Clean Up The Web Cache and Move The Cache Folder

Normally you do not even need to think about the browser’s cache. You may not even know what the web cache does. The web cache stores some of the web pages you have visited on the PC, so that when you visit the same site it does not need to get all the data from the Internet again. Thus the web cache uses space on the hard disk.

The web cache automatically clears out old items and adds new items as the user browses. In day-to-day usage the cache operates in the background with the user not needing to worry about it. However, if the disk drive the cache is stored on runs low on space then the cache may need to be cleaned out to free some space. It can also be moved to another disk to help with disk space management. Finally it can be moved to another disk, including RAM disks, if that other disk is faster, to help improve the performance of the system.

Clear Web Cache in Internet Explorer

Access Internet Explore Settings to Clear Web CacheTo clear web cache in IE open the settings and chose Internet options. On the General tab under Browsing history select the Delete button. The default options are normally OK. As a minimum Temporary Internet files and website files must be checked. Select Delete and the web cache will be cleared. A message will appear on IE when the process has finished and you can close the Internet Options dialog. It is also worth running a third party cleaner, such as Piriform’s CCleaner (Computer Cleaner), to clear more cache items that cannot be cleared while IE is open.

Move Browser Cache in Internet Explorer

Close all open programs except for IE. Clear the IE cache as above then select the Settings button. In the Web Data Settings box on the Temporary Internet Files tab select Move folder. Select a new location, preferably on a different drive. For example the folder D:\Temp was created using Windows File Explorer, D:\Temp was then selected from the Move folder button so that the new cache location became D:\Temp\Temporary Internet Files. Click OK and accept the message to confirm the move, the PC may need a restart. Read on to see how to clear and move the cache for Chrome, Firefox and Opera. Continue reading

Android Menu Vs Action Bar with Example Code

An Android Menu in Your App

When a new Android App project is created in the Eclipse or Android Studio IDEs there is the option to create a default activity (the Create Activity option in the New Android Application wizard). If the option is checked and Blank Activity is chosen a simple App ready to run is generated. This App simply shows the message Hello world! on the device screen (see Your First Android Hello World Java Program).   This simple App has a menu with one item called Settings. On devices with a physical (hardware) menu key, the Settings menu option appears at the bottom of the screen, when the key is pressed:

Basic Android Menu Option

On devices without a hardware menu key, Android Version 3.0 and later devices (API level 11+), an icon in the Action Bar shows the Settings menu item. This icon is referred to as the action overflow. However, due to it’s stacked appearance in this article it will be referred to as the menu icon:

Action Bar with Basic Android Menu

The above two screens show the older Android menu vs Action Bar menu, i.e. pre-Honeycomb using the physical menu key, and post-Honeycomb menu using the Action Bar icon (3 small stacked boxes icon know as action overflow). Further differences in use are examined in this article with code examples. Here is the code for this basic App: Continue reading