-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d64d555
commit e6e6db4
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# ideas | ||
|
||
- [ ] 为什么我不用 download url 作为文件名呢? | ||
|
||
优点:可以避免重复下载,提高用户体验以及 storage | ||
|
||
缺点: | ||
|
||
1. 无法直接观看视频和图片,因为文件后缀不对。 | ||
|
||
1. 有一个解决方案:可以使用 filename.url 格式,url 即可。 | ||
2. Q: elixir 读区 file 并判断文件名是否存在,是否比 database select 快? | ||
|
||
![ChatGPT answer: file existed faster than db](./file_faster_than_db.png) | ||
|
||
- [ ] memo: filename 可以使用空格区分,#设计参考 macos history |