hatmaker icon indicating copy to clipboard operation
hatmaker copied to clipboard

Performance improvement - Cache

Open bpinto opened this issue 12 years ago • 7 comments

There's no need to download the json file every time hatmaker is used. Hatmaker should make proper use of caching mechanisms such as etags.

bpinto avatar Apr 20 '13 08:04 bpinto

JSON cache file is really needed in this workflow. Also I'll improve the github download link in JSON API for all the users.

hzlzh avatar Apr 24 '13 07:04 hzlzh

Yep, I know but I had to do a lot of code refactor as I had written a lot of junky to get the workflow released. :p

I'll be working on a feature that will as a side effect make this workflow faster. And then I'll work on caching mechanisms.

What do you mean by improve the github download link?

bpinto avatar Apr 24 '13 07:04 bpinto

Nice, wait for your next faster version, and then maybe I will push your workflow manager on the home page of AlfredWorkflow.com together with my next small workflow Workflow Searcher.

About github download link i've just mentioned is a improvement of the current API, for now, some workflow developers did not add a github download link for their workflows, but other links link Dropbox public link, Droplr link or release page link which is not friendly with the download feature in your workflow manager. So let's make it better to manage workflows. :)

hzlzh avatar Apr 24 '13 07:04 hzlzh

The Github JSON link will be synced with Site JSON link every 24 hours. Still the Github json link is recommended like your current usage in hatmaker

-- updated API JSON changed here: https://github.com/hzlzh/AlfredWorkflow.com/issues/4#issuecomment-16996832

hzlzh avatar Apr 24 '13 07:04 hzlzh

That's great! I'll be working on some server side features also, that I would like to get integrated with alfredworkflow.com. Let's talk about it soon! :)

bpinto avatar Apr 24 '13 18:04 bpinto

Nice. BTW, I've released the Workflow Searcher with the API file cached locally, check it here: https://github.com/hzlzh/Alfred-Workflows/

hzlzh avatar Apr 25 '13 17:04 hzlzh

Nice! We are following different approaches but I like what you did! :)

bpinto avatar Apr 26 '13 15:04 bpinto