Skip to content

July 28, 2011


5 Tips to Optimize & Speed Up Safari 5

I have recently noticed a slowing factor when it comes to using Safari 5. I decided to look for some hack solutions to see if I could improve the usability of Safari from the point of view, page load speed. After searching the web,  I have found an article from  Hopefully it will help you as much as it has helped me. Let begin…

Set new windows and tabs open in empty page. I’ve never set a homepage for my browser. It doesn’t only speed up Safari launch time, it also speed up the new windows and tabs launch time.

  • Access it under preferences: general.

Set database storage to none. By disabling storage, you increase your browser security and know which website requires database. It doesn’t do much to the performance, but I think it’s better to know which website use your storage.

  • Access it under preferences: security: show databases.

Disable the webpage preview caches. If you use Top Site feature, you should know that Safari will create a screenshot of the site you’ve visited and store it in a folder. Over time, it’ll take a large space of your hard disk. Safari will search for the existing cache whenever it wants to display top site preview. The most important issue is the time it requires to search for the each screenshot – imagine your folders has over 300 screenshots.

  • Quit Safari if it’s running.
  • Run terminal and enter touch desktop/Webpage\ Previews
  • Navigate to ~user/library/caches/
  • Delete the Webpage Previews folder and move the new Webpage Previews (check your desktop) into folder.

The reason why I choose this approach is to let you understand how the whole blocking works. We create a new empty file in order to block Safari from writing a new image into the folder. To restore the feature, delete the empty file and Safari should create new folder the next time it launches.

Disable web icons storage. When you visit a website, Safari will store the tiny icon in the url into its own storage. If it’s getting larger, it’ll slow down Safari performance because it need to search the database every time it visits a website. There is an easier way if you don’t mind installing app.1

  • Quit Safari if it’s running.
  • Navigate to ~/user/library/safari and delete the WebPageIcons.db Don’t worry, it’s totally safe. This is the storage I mentioned, deleting it won’t cause any issues to Safari.
  • Run terminal and enter this defaults write WebIconDatabaseEnabled -bool NO

Speed up the initial layout by decreasing the initial time layout delay to 0.25. Safari by default has a delay of 1 second before loading page (The time it takes to load and render the webpage before presenting it in your browser). By decreasing the delay, you make sure it displays faster but not loads faster. Because it depends on your internet connection and website to ensure the page loads under 1 second to see different.

  • Enter this to terminal defaults write WebKitInitialTimedLayoutDelay 0.25

Bask in your new found speed and improved load times.

Original Post:
4 Comments Post a comment
  1. Jan 17 2013

    Thanks for these Tips.
    My Safari Browser is very slow and I am getting continuous “System Not-Responding” Problem from it.
    What should I do ?

  2. Steven Cee
    Jul 29 2013

    I tried the method you gave to stop webpage reviews, I typed this into Terminal: touch desktop/Webpage\ Previews But when I deleted the file & went to move this into the proper folder, this showed up as a document, not a folder. What happened?

    • Jan 15 2017

      Thanks for sharing these tips very helpfull.

  3. Jan 14 2017


    Thanks for sharing this post. I used this post tips.This tips helpful me.



Leave a comment

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments


This site uses Akismet to reduce spam. Learn how your comment data is processed.