Tech Tip: A tip for clearing the client cache folder
PRODUCT: 4D | VERSION: 13.3 | PLATFORM: Mac & Win
Published On: April 5, 2013
Sometimes a developer or 4D administrator may want to delete the client cache folder, which can be a good troubleshooting step for various issues. One hidden gem for completing this task is to use a 4DLink file with the clear_cache_folder attribute set to true. Here is an example 4DLink file with the clear_cache_folder attribute set:
clear_cache_folder = "true"
Here is a 4DLink example using the clear_cache_folder attribute:
<?xml version="1.0" encoding="UTF-8"?><database_shortcut is_remote="true" user_name="Designer" server_database_name="monitoring" server_path="127.0.0.1" clear_cache_folder="true"/>
The 4DLink file, when opened by 4D, will clear the cache folder and re-download all resources.
See Also:
- Tech Tip: 4DLink file location
- Tech Tip: "skip_onstartup_method" also skips On Exit
- Tech Tip: New 4DLink conversion options
- Tech Tip: Programmatically creating 4DLink files
- Tech Tip: What application do my .4DLINK files open? Setting file type association
- Tech Note: 4D v11 SQL Database Access Files (4DLINK)
- Tech Tip: Programmatically finding the Client Cache folder
- Tech Tip: Why does my client cache folder have two sets of plugins?
- Tech Tip: Basic Troubleshooting Tip for 4D v11 SQL - Recreating "Preferences"