KevinBatdorf / laravel-forge-raycast

Raycast extension to manage your Forge servers
https://www.raycast.com/KevinBatdorf/laravel-forge
11 stars 1 forks source link

Cache Servers #1

Closed vmitchell85 closed 2 years ago

vmitchell85 commented 2 years ago

I noticed you weren't sure if you should cache Servers... (permalink below) I cached sites and servers in Alforge (my Alfred workflow) and I think it made it work much better.

https://github.com/KevinBatdorf/laravel-forge-raycast/blob/6b7ee63de856d204dfb30ffa22a7e24953952bf6/src/Server.tsx#L18

vmitchell85 commented 2 years ago

Might be worth enabling discussions too, so you can see what sort of features people would like.

KevinBatdorf commented 2 years ago

Yeah I wasn't sure because I want to ping the api every 2-3 seconds regardless, but there's a slight flash before the data shows, so I probably will cache them. Will check out how Raycast handles caching.

Might be worth enabling discussions too, so you can see what sort of features people would like.

Thanks, just enabled them. Thanks for the tip.