Josh's Posts Tagged ‘safari’
Safari Flipping Out? Try Clearing the Cache
Over the past few weeks Safari started chewing up the CPU and causing my MacBook Pro to sound like it’s going to take flight. This of course chews up the battery as well.
At first, I thought there was Flash running in one of the pages I load regularly since Flash has a number of issues running well on a Mac. My other thought was that one of the sites I visit regularly has some weird JavaScript bug. The CPU usage would just start climbing at some point; I couldn’t pin down what the cause was or the exact steps to recreate it.
So today I fire it up and Safari immediately starts to devour system resources. Fed up, I do all of the usual things: disabled plug-ins, moved the contents out of ~/Library/Safari, watched the Console for odd messages. Nothing seemed to do it.
Then in occurred to me to try something as a web developer I do all the time: Empty the Browser Cache. (Safari > Empty Cache…)
Disco! It seems once the cache gets to a certain point in Safari, it begins to struggle.
Sometimes the answer is simple.
Hope this helps.
My Delicious Bookmarks (2008-08-12 - 2008-08-14)
Recent links posted to Delicious:
- Ajaxian » iPhone Safari Flick Navigation By Example .divSlide {
-webkit-animation-name: "slide-me-to-the-right";
-webkit-animation-duration: 1s;
}
@-webkit-keyframes "slide-me-to-the-right" {
from { left: 0px; }
to { left: 100px; }
} - To Title Case | Individed JavaScript for converting text to title case.
- Terminal Tip: Burning a disc did you know that you can burn discs right from the Terminal window with a simple command and a drag/drop? Just enter the following command followed by the path to a folder or disk image:
drutil burn filehere
Don't type the "filehere" — that's where you put the path to the file/folder that you wish to burn. You can either type the location manually or drag and drop the file onto the Terminal window. But that's not all you can do with drutil; you can also eject media from the optical drive by typing "drutil eject." To see all of the available drutil options, just type in drutil for a quick list or man drutil for a full description.
del.icio.us Bookmarks (2008-04-11 - 2008-04-12)
Recent links for http://del.icio.us/quixado:
- Adobe Fireworks Tutorials and Downloads Best of | Tutorials | Smashing Magazine
- Phusion Passenger (a.k.a. mod_rails) Phusion Passenger (a.k.a. mod_rails) enables people to deploy their Ruby on Rails applications in an upload-and-go manner, which is very reminiscent of the PHP way of deploying.
- Git Magic - Preface
- DryIcons
- Ajaxload - Ajax loading gif generator
- Capistrano A tool for automating tasks on one or more remote servers. It executes commands in parallel on all targeted machines, and provides a mechanism for rolling back changes across multiple machines.
- Django Pluggables Find reusable applications for your Django project, quickly and easily!
- InsideRIA: LFFS (Learning Flex from Scratch)
- Safari 3.1, Mac OS X 10.5.2: Bookmark syncing issues with iPhone, iPod Touch, .Mac defaults delete com.apple.safari RegisteredSafariSyncClient
del.icio.us Bookmarks (2008-03-21 - 2008-03-27)
Recent links for http://del.icio.us/quixado:
- From iPhone SDK to Simple App in Less than 45.2 Seconds — iTouch My iPhone 1. Open the Xcode app 2. Select File -> New Project 3. Select the Cocoa Touch Application 4. Select a name and save it in the Documents folder 5. Once the project appears, click Build and Go 6. The Aspen iPhone Simulator will load 7. Close Simulator
- Are ad networks for loser/weak publishers?
- How to enable single window mode in Safari | naquah.net defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
del.icio.us Bookmarks (2008-03-04 - 2008-03-06)
Recent links for http://del.icio.us/quixado:
- Coding Horror: I Repeat: Do Not Listen to Your Users Listening to users is a tricky thing. Users often don’t know what they want, and even if they did, the communication is likely to get garbled somewhere between them and you. By no means should you ignore your users, though. Most people will silently and f
- mezzoblue § Chalkwork iPhone & iPod Touch Free Icons
- Secrets Secret Prefs for OS X. Secrets is in Beta and many of these options can harm your system if used improperly.
del.icio.us Bookmarks (2008-02-26)
Recent links to http://del.icio.us/quixado:
- MissingDrawer plugin for TextMate
- MonoPrice.com HDMI Cable, Home Theater Accessories, HDMI Products, Cables, Adapters, Video/Audio Switch, Networking, USB, Firewire, Printer Toner, and more!
- Keywurl Safari Plug-in the restores search to the address bar like Firefox.
Browser Switch: Safari / Webkit Trial
For a long time I’ve been increasingly frustrated with the performance of Firefox 2 on my Mac. The Mozilla folk will blame it on plug-ins and such, but I’ve done a lot of tweaking, hacking, and research and it’s just got issues.
The main issue is the memory bleeding. Every other day requires I shut down Firefox and restart it. The second is occasional responsiveness even before the memory leakage fires up. On the Safari side, the new Webkit builds keep getting faster, and being an iPhone user, the consolidation and ease of syncing bookmarks is not without its appeal. This doesn’t mean Firefox is out, the wide selection of plug-ins/add-ons still makes it my go to browser for development and debugging; I’m just trying it in the second string position.
Speaking of plug-ins, this may be the biggest flaw in using Safari: Not a lot of development for plug-ins and not easily extensible. The biggest resource I’ve found so far is a site called Pimp My Safari, which has been helpful, but doesn’t seem to be updated frequently. So I’ve been compiling a list of the features I want/need ported from Firefox to make this browser switch stick:
- Click RSS icon and add to Google Reader or other online reader. Since I access feeds from both my Mac and my iPhone, I use an online reader. I want to easily click that “RSS” icon in the address bar and assign that feed where I want.
- Multiple session session-saver. You can load your last session, but I want the option to save multiple sessions and jump back to a specific ones.
- Some refinement to the very impressive Safari Web Inspector. Namely the ability to click “Inspect” and select a section of the page like Firebug.
- I like to search right from the location bar. My biggest frustration right now is that muscle memory has my typing search terms in and getting a Safari error page.
- A plugin to post directly to Delicious. Bookmarklets are fine, but I want tighter integration, once again like the delicious plugin for Firefox.
I’m sure I’ll find some others and will update this post; I’m only in day two of the test. If you have solutions or know of good plug-ins for Safari, please let me know.
del.icio.us Bookmarks (2007-11-26 - 2007-11-29)
Recent links for http://del.icio.us/quixado:
- A half dozen fun undocumented iPhone preferences - The Unofficial Apple Weblog (TUAW) - Not all preferences appear in your iPhone Settings application. As I discussed rather thoroughly in my Modding Mac OS X book, it’s not that hard to dig through applications and discover undocumented…
- Genfavicon. Free Online Favicon Generator. Icon Generator. - A favicon (short for ‘favorites icon’), are litle icons associated with a particular website or webpage, shown next to the site’s name in the URL bar of most browsers.
- Safari Microformats plugin - The Safari Microformats plugin notifies you when the author of the website has published Microformats and allows you to easily import hCards and hCalendars in Address Book and iCal.
- De-lameify your dock and menubar - Make your Dock be flush against the corner of the desktop, instead of centered vertically or horizontally. Turn off menubar transparency on 10.5.
