A
A
Alex2018-10-19 05:40:50
css
Alex, 2018-10-19 05:40:50

Does css versioning reset the cache of content written inside?

After updating the static elements of the site, the user's cache is not reset. It was decided to append the version to the css in the address, like style.css?v=1. The question arose, let's say if the background is updated again, which is written in css and the style version changes to 2, the user's css cache will be updated, and the cache of the image itself, which is written in css, too, or should the version be added to the pictures? Provided that their names do not change.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dollar, 2018-10-19
@alexindie

The image cache is separate. But they will update over time if you don't have perpetual caching. For simplicity, you can also rename the picture. I don't see a problem with the names background2, background3, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question