postheadericon Speed up Safari

From Mac Guides

This guide explains several methods to speed up web browsing on Apple’s own web browser, Safari. None of these tips will help if you are experiencing problems with your hardware/system software or if your ISP is having technical problems of its own. It is worth remembering that due to the structure of the internet there will often be problems completely out of your control, such as malfunctioning/overloaded servers or data links.

It is suggested that you use a method of trial and error to fix specific speed problems – apply one method and then test for its impact. For a more general improvement you can combine tips.

  • 1 Empty the Cache
  • 2 Reset Safari
  • 3 Erase Website Favicons
  • 4 Delete the Preferences File
  • 5 Disable Add-ons
  • 6 Adjust the ‘Render Before Display’ Timer
  • 7 See Also

Empty the Cache

Safari uses caching to save recently viewed websites on your Hard Drive. This technique is common place with all web browsers but can cause problems if your cache gets too big or corrupted as your computer will spend excess time searching the cache when it could fetch the data from the internet in less time.

  • To empty the cache memory go to the Safari menu and click ‘Empty Cache…’. You will be presented with a window explaining what will happen. Click OK to proceed.

Note: In many cases emptying the cache may temporarily slow down Safari, especially if you are on a slow connection.

Reset Safari

Apple provide a quick way to empty the cache, clear cookies, erase history and reset autofill information. This can often provide a quick fix for improving performance. The disadvantage is that you will need to re-enter log in information on sites that had previously stored data in cookies.

  • To Reset Safari go to the Safari menu and click ‘Reset Safari…’. You will be presented with a window explaining what will happen. Click OK to proceed.

Erase Website Favicons

Most web pages now include a small icon or ‘favicon’ which is visible in the address bar and next to bookmarks. With the vast amount of websites available over the internet, it is obvious that these icons can potentially take up a fair amount hard disk space. This will cause slow downs due to Safari having to ‘sift’ through the collection to find the right image. It is possible to erase the icons from your computer and start fresh.

Delete the Preferences File

If your Safari Preferences File has become corrupted you may notice glitches and problems when browsing the web. You might not be able to load certain web sites or experience time outs and error messages. By deleting the preference file you may fix these problems, but you will also loose all your settings (e.g Tab behavior and default home page)

  • Safari stores its preference file (plist) in your user folder. First, make sure you quit Safari. Then, using the finder, open your user folder and navigate to ~/Library/Preferences/. Delete the file named ‘com.apple.Safari.plist’.
  • MacRumors’ guide to deleting preferences files provides more instructions on how to achieve this.

Disable Add-ons

Add-ons, such as PithHelmet or Saft, whilst extremely useful, can be the source of performance or stability issues. Fortunately, most utilities like these have an option to disable their functionality to allow you to troubleshoot. You could also choose to remove them from your computer altogether. To do this follow the instructions on Apple’s Safari add-ons technote.

Adjust the ‘Render Before Display’ Timer

Safari uses a technique to decrease loading times by pausing for 1 second before displaying content so far recieved. When information is first downloaded from a website, Safari uses this time to commit maximum resources to rendering the HTML code before displaying on screen. It is possible to adjust this timer to force Safari to display a page earlier. Note that this will actually increase load time as Safari is not able to render as quickly if it is also updating the display at the same time, but it can be considered as a perceived performance increase. To change the timer follow these steps:

  • Quit Safari
  • Open a new Terminal window.
  • Type the following: defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.25
  • You can substitute 0.25 for any numerical value from 0 to 1 seconds (e.g 0.5 or 0.75.) 1 is the default.
  • Press enter to save.
  • Close the Terminal application and re-launch Safari.
  • Test for changes

Your mileage may vary, and if you find little difference you might wish to reset the timer to its default settings by performing the above steps again and entering 1 as the numerical value.

See Also

Related Posts with Thumbnails

Incoming search terms for the article:

Incoming search terms for the article:

Similar articles

  • How can i Speed up my Browser ?
    some tips might only increase performance for broadband users. * Disable Name Completion and local network lookup Whenever you enter a single word into the address field Opera will look in your bookmarks for that name and try to find a local network with the name as well. Server Name Completion
    ...
  • Computer Clean Up
    With all of the recent news stories about identity theft, it got me thinking about my PC. What kinds of information did I have stored on it? And is it really something that a hacker might want? After a little digging around (and several Internet tutorials later!) I was astounded at the amount of personal
    ...
  • What is the Best Way to Speed Up My Computer?
    This is a question many a PC user has asked more than once. When your computer is brand new, it will work like clockwork and will not give you all sorts of problems. However, the longer you use your computer or notebook, you’ll soon notice that it gradually operates slower. Slow PC speed is the
    ...
  • MacInTouch Reader Report: Browser Performance Tips
    Date: Sun, 12 Dec 1999 21:30:02 -0600 From: Rick VanDerveer Subject: Additional tip for the “Browser Performance” page Thank you for the tip for IE 4.5! I’ve long switched to IE because of the advantages it offers, such as using Apple’s MRJ for Java, better handling of cache files, and Appearance Manager-savvy. But, I do
    ...
  • How to Speed Up Your Computer: Computer Maintenance Tips
    “If you’ve owned your computer for a while, you may notice it’s slowed down since you first bought it. Hi, I’m Charles Stewart Jr., and I’m going to tell you how to speed up your computer. First thing you can do without spending any money, is to, go through your drive, and clean it up.
    ...

Leave a Reply

  • chong: Alongside slimming the startup list, also run a diskcleanup. After that a full defrag will help speedup...
  • Eric Hollis: I have no doubt that breaking the symmetry of treating all icons (desktop or not) as windows would...
  • Nancey Haag: After that my machine performed MUCH better. I know this shouldn’t make a difference, but it was...
  • Jacob Bowles: “Well MacOSXHints has it wrong. Sorry guys, what is slowing down your machines is the size of the...
  • Daryl House: To do this set up a cron script to automatically delete it every night at around 2 am.