Slashdot Mirror


Safari 1.0 Released

optikz writes "Apple has just released Safari 1.0 and it is availlable via Software Update. This release is now out of the 'beta' stage. It is version 1.0 (v85)." Not much appears to have changed since the last beta. I just need to decide if it should replace Camino for me.

3 of 185 comments (clear)

  1. Good stuff by TwistedKestrel · · Score: 5, Interesting

    Nearly perfect timing, too. IE's gone, Safari's here ... out with the old, in with the new.

    1. Re:Good stuff by cloudless.net · · Score: 5, Interesting

      I bet Apple already knew IE would be gone on Mac OS, before starting to develop Safari.

  2. RAM Disk in OS X and how to move Safari's cache by SensitiveMale · · Score: 5, Informative

    70% of this code isn't mine, but found I bits everywhere.

    The first part is a AppleScript. It does a few things. First it creates the RAM disk. Then it renames the RAM disk. Then it automatically starts Safari. The reason why I have it start Safari is to ensure the RAM disk is up and running at login before Safari is launched.

    Where you see the line "set diskSize to 40" sets the RAM disk's size. 40 is 40 Megs. Simply change that to whatever size you want.

    Copy and paste the script into the script editor, Save it as "application" and be sure to uncheck the box "Never show startup screen".

    tell application "Finder"
    activate
    set diskSize to 40
    set diskSize to diskSize * 2048
    do shell script "hdid -nomount ram://" & diskSize
    set dskImg to the result
    set prevTextDelims to AppleScript's text item delimiters
    set AppleScript's text item delimiters to {"/"}
    set myDevDisk to the last text item of dskImg
    set myShellCmd to "/sbin/newfs_hfs /dev/r" & myDevDisk as text
    do shell script myShellCmd
    do shell script "hdiutil mount /dev/" & myDevDisk
    set AppleScript's text item delimiters to prevTextDelims
    end tell

    delay (1)

    tell application "Finder"
    set name of item "untitled" to "RAM Disk"
    end tell

    tell application "Safari"
    launch
    end tell

    Here is how you move Safari's cache to the RAM Disk.

    Close Safari.
    Open terminal.
    Run this command -

    ditto -rsrc ~/Library/Caches/Safari "/Volumes/RAM Disk/"

    Then delete the folder "your home/library/caches/safari"

    Run this command -

    ln -s "/Volumes/RAM Disk" ~/Library/Caches/Safari

    That will create the link between the RAM disk and your safari cache folder.

    That's it. Works perfectly and much much faster.

    You will have to run the applescript at login.

    You only have to run the terminal commands once.