How do I clear my browser cache?

What exactly is cache?

Your browser’s cache, pronounced cash, is a collection of web pages stored on your hard drive or in your phone/tablet storage. The cache includes the text, images, and most other media contained on web pages that you’ve visited.

Having a local copy of a web page makes for quick loading on your next visit because your computer or mobile device doesn’t have to download it from the internet again. Over time, however, the cache may take up a big chunk of your computer’s storage.

Why do you have to clear cache?

You don’t have to clear the cache as a regular part of computer or smartphone maintenance. However, there are some good reasons to clear cache:

Clearing your cache forces your browser to retrieve the newest copy available from the website, something that should happen automatically but sometimes does not.
You’re experiencing issues such as 404 errors or 502 errors (among others) that may indicate your browser’s cache is corrupted.
Malware is another reason to delete the browser cache. It can be dropped in the cache without you knowing or alongside program installations, so clearing the entire cache can delete malicious files. (It also helps to have antivirus software.)
Another reason to delete browser cache data is to free up space on your hard drive. Over time, the cache can grow to a huge size; clearing it can recover some of that previously used space.

Basic process to clear your cache.

  • Clearing cache can fix some browsing problems, free up space, and remove saved versions of visited pages for privacy reasons.
  • Most browsers let you clear cache quickly via Ctrl+Shift+Del (Windows) or Command+Shift+Delete (Mac).
  • Otherwise, try your browser’s Settings, Privacy, or Advanced options.

Specifics for different browsers and operating systems.

There are many different web browser / operating system combinations. Far too many to maintain a detailed explanation for how to clear caches for every one here. Instead, below are a few links to other sites that specialise in such information that might help you:

  1. RefreshYourCache.com
  2. Kinsta – How to Clear Cache for All Major Browsers
  3. Lifewire – How to Clear Internet Cache in Every Major Browser
  4. DigitalTrends – How to clear your browser cache

Unable to create thumbnails

Creating thumbnail images requires three things: a PHP graphics extension; sufficient memory on your server; and sufficient CPU power and/or time to allow the process to complete. You can check these using information shown on your kiwitrees page Administration > Site administration > Server information.

PHP graphics extension

Kiwitrees uses the “GD” graphics extension in PHP. Your server information should therefore list GD, and show it as GD support = enabled.

For gd, your server information should include a section for GD, with an entry of “GD support = enabled”.

Sufficient memory

To process an image from full size to thumbnail, GD requires memory of 4 bytes-per-pixel. An image that is 5000×4000 pixels will require 5000×4000×4 = 80MB (GD). In addition, the rest of the script requires approximately 20MB. So generating a thumbnail of a 5000×4000 pixel image will require at least 100MB. Your server’s “memory_limit” must be set to a figure higher than that.

 CPU power and/or time

Image manipulation requires a lot of server resources. If you have very large images, and low memory limits, then you will need to arrange, perhaps with your web host, to increase any limits on these..

There are no spaces between the given names and surnames

This is caused by the software that created your GEDCOM file.

It will have created names formatted as 1 NAME John Paul/Smith/ instead of 1 NAME John Paul /Smith/.

It would not be universally correct for kiwitrees to automatically add spaces because some languages (e.g. Chinese) do not use spaces between words or names.

But kiwitrees can insert insert these spaces for you. Go to Administration > Tools > Batch update and select the option “Fix name slashes and spaces”. If the tool finds any names that can be changed in this way it will display the first. You can choose to update these one at a time (being very cautious) or simply change all of them at once (being very confident).

CAUTION
As with most of the tools in the Batch Update suite, you should take a back-up copy of your latest GEDCOM file before proceeding.

I forgot my password and can’t log in

There are several ways to reset your password.

  1. Is there another kiwitrees administrator on your site?
    Ask them to reset your password from the kiwitrees control panel.
  2. Is your server configured to send an email?
    The login page has a “Request new password” link. It will send a new password to you by email.
  3. Can you access your database? (e.g. using PhpMyAdmin)
    Find the table kt_user and the row for your user account. Set the password field to the value $1$VDnz7rNf$nDgfF52rgdz89uTSJ1sa41. This is the encrypted form of the text “password”.
  4. Can you access the files on your webserver? (e.g. using FTP / SFTP)
    Create a text file called password.php with the following content. Copy it to the kiwitrees folder on your server. Replace each occurrence of XXXXX as appropriate.
<?php
// These are your database connection settings.
// You can find them on your server in the file data/config.ini.php


$DBHOST = 'XXXXX';
$DBPORT = 'XXXXX';
$DBNAME = 'XXXXX';
$DBUSER = 'XXXXX';
$DBPASS = 'XXXXX';
$TBLPFX = 'XXXXX';
// This is the email address of the account you want to change
$EMAIL = 'XXXXX';

// This is the new password
$PASSWD = 'XXXXX';

$pdo = new PDO(
(substr($DBHOST, 0, 1) === '/' ?
"mysql:unix_socket={$DBHOST};dbname={$DBNAME}" :
"mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}"
), $DBUSER, $DBPASS);
$sql = 'UPDATE `' . $TBLPFX . 'user` SET password = :password WHERE email = :email';
$stmt = $pdo-&gt;prepare($sql);
$stmt->execute(array('password' => crypt($PASSWD, ''), 'email' => $EMAIL));
if ($stmt->rowCount() > 0) {
echo 'SUCCESS - The user account was updated.';
} else {
  echo 'ERROR - The user account was not found or not updated.';
}

Copy the file to the web-server and run it by typing the URL into your browser. e.g. http://your-site.com/path-to-kiwitrees/password.php