Closed YurkoWasHere closed 2 years ago
I agree with this approach. The install is easier and would even suggest we make URLToCSV
an env var / config in the future to keep the script generic. Cache interval can also be a config if we take that approach. But this seems good for now.
@ASoTNetworks is this PR still relevant?
This is a proposal of a caching feature that hasn't been put in use yet. Currently the page is fetched each time.
Thanks Yurko!
gentle -1 on caching without a [future] option to work-around via force refresh, without waiting 15 min.
(I support simplification of deploy; didn't realize this used cron.)
Note that Github already caches, so this would add a 2nd layer of things to flush/circumvent for immediately using a new shortlink. I feel a one-two punch of create-then-use is quite a common use-case -- I def do that before sharing a new shortlink. I would almost prefer opposite feature, of cache-busting options to get around GitHub's raw file cache :)
Ideal scenario I'd love to support:
Thanks for hearing me out! I trust whatever you decide
added ?force=
@YurkoWasHere can you update on status of this PR?
Pros over cronjob
Cons over cronjob
Submitted for discussion