advanced-nova-media-library
advanced-nova-media-library copied to clipboard
Can make ->temporary() take in a function or be more like download() ?
Currently temporary() takes in a Carbon, to prevent expiry we have to be quite generous with the expiry datetime like 5 minutes.
Wonder if it can be implemented more like download(). where the expiry date time is only generated when one press on the icon. This way i can set it to much shorter like 2-3 seconds.
If it can take in a function for us to customize that will be even better too. then when icon is clicked, it execute the code in the closure. Which allow us to set much shorter date time or let us load the item in question in some online viewer.