Search the Community
Showing results for tags 'cache'.
-
Hi all, I am working on a workflow which 1) loads a large (43MB) JSON object and then 2) uses Alfred to filter results (with word matching). Alfred currently takes ~3 sec to load the object. Here's my question: given that I am not fetching anything over the web or local network, would it still be beneficial (i.e. would make it faster) if I learn how to cache the JSON object? Or perhaps I should search via script and only serve the results to Alfred? Thanks!! Giovanni
- 2 replies
-
- json
- performance
-
(and 1 more)
Tagged with:
-
Clear Safari: this simple workflow launch an AppleScript to clear Safari history/cache/cookies/etc. DOWNLOAD Safari Incognito: this one enable private browsing in Safari by opening a new private window DOWNLOAD
-
I have a lot of visited URL's which seemed to be stored in Alfred (either because I entered them or because their bookmarks). Is there any way to remove URL's from Alfred (I would prefer to remove them individually if possible). Example screenshot: https://www.dropbox.com/s/o888z2q6qbdq7el/Screenshot%202014-05-13%2020.25.10.jpg
-
Get Google Cache of a URL with this workflow! Easy to use: In Alfred, enter the following and press Enter: cache URL Download Alfred Cache here.
-
An Alfred 2 Workflow for clearing your OS X DNS cache on Mountain Lion (10.8), Lion (10.7), and Snow Leopard (10.6). You can find more details and the up-to-date download link here: randomerrata.com/post/49934511898/clear-dns-cache You can also find my other workflows on my blog: randomerrata.com/tagged/workflow
-
I have been reading the documentation for David Ferguson's workflow class (awesome work, BTW). I can't figure out how to write to the cache. I have tried $xml_string = 'Lorem ipsum dolor sit amet'; $path = $w->cache().'/data.xml'; $w->write($xml_string, $path); which wrote nothing. Then I tried $xml_string = 'Lorem ipsum dolor sit amet'; $w->write($xml_string, '/data.xml'); which wrote to ~/Library/Application Support/Alfred 2/Workflow Data Then I tried $xml_string = 'Lorem ipsum dolor sit amet'; $w->write($xml_string,'data.xml'); which wrote to ~/Lib
- 9 replies
-
- cache
- workflows.php
-
(and 1 more)
Tagged with: