Files in assets without hash in their names? #10071
Replies: 3 comments 13 replies
-
You can put the file in Then link to it in 2 ways: [download](/myfiles/myfile.zip)
[download](pathname:///myfiles/myfile.zip) The 1st option will use our regular asset pipeline, adding a hash so that you can cache requests aggressively (note, your file will still exist at The 2nd option will opt out of our asset pipeline and leave the link 100% unmodified |
Beta Was this translation helpful? Give feedback.
-
Using |
Beta Was this translation helpful? Give feedback.
-
Just wanted to add my voice to this, been trying to figure out how to do this for the last hour. So there are certainly multiple people trying to do this. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to put some files in assets folder without any changes in their names? F.e. I have some .zip files and link from markdown to them like:
[download](../myfiles/myfile.zip)
but the link to this file is changing every time when content of file changed like:
myfile-4fb9ebecd28b6fe6d14e167d763a6f7.zip
I prefer to have a permanent link to this file.
Beta Was this translation helpful? Give feedback.
All reactions