You can clear your Safari history and cache by:
- With Safari open, click the Safari menu
- Select the Reset Safari
- Check on Remove all website data
- Check on Close all Safari Windows
- That is the only option that must be checked for this, however, other options may be checked as you deem necessary.