9
9
96Semka2020-08-29 21:41:07
Flask
96Semka, 2020-08-29 21:41:07

How to disable cache in Flask application?

There is an admin panel on my website viknasteli.com. And when I delete the last product from the category in it and put another one in its place, I still have the old picture, since the new file has the same name, this is how the program was made. I want to disable the cache completely or update it when a new product is added. How can I implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
planc, 2020-08-29
@planc

image.jpg?random_text e.g. unix timestamp
https://hsto.org/r/w120/webt/5d/88/06/5d880615672a...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question