Как заставить пользовательские файлы js/css в Sphinx всегда загружать изменения без кэширования? ⇐ CSS
-
Anonymous
Как заставить пользовательские файлы js/css в Sphinx всегда загружать изменения без кэширования?
In conf.py I have:
html_css_files = ['css/custom.css'] html_js_files = ['js/custom.js'] However if I make any change in custom.js or custom.css then this change does not reflect to in the user's browser unless http://www.example.com/_static/js/custom.js is forcefully reloaded on the client (similarly for CSS).
How can I force the custom CSS + JS to never cache on the user's browser?
Источник: https://stackoverflow.com/questions/780 ... out-cachin
In conf.py I have:
html_css_files = ['css/custom.css'] html_js_files = ['js/custom.js'] However if I make any change in custom.js or custom.css then this change does not reflect to in the user's browser unless http://www.example.com/_static/js/custom.js is forcefully reloaded on the client (similarly for CSS).
How can I force the custom CSS + JS to never cache on the user's browser?
Источник: https://stackoverflow.com/questions/780 ... out-cachin
Мобильная версия