Files in assets without hash in their names? #10071
Unanswered
CanadianBeaver
asked this question in
Q&A
Replies: 2 comments 8 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.
0 replies
-
Using |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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