Skip to content

Does using _static provide benefits compared to placing images in directories next to the documentation that uses them? #13427

Answered by jdillard
jackwayneright asked this question in Q&A
Discussion options

You must be logged in to vote

However, I don't know if the _static directory provides some benefit (with caching or such) that results in a being better to put image files in the _static directory. If it does, I would like to take advantage of it.

I don't know for certain if it does, but I doubt it. It is pretty common to store images along side documents they are associated with so I think you're fine. _static is nice if you don't know where to put something or if it "global" (like a favicon, logo, or something)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jackwayneright
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants