Mopsy, you need to force cache refresh when the JS is changed. Simplest way would be to add a query param indicating version like to the script src attributes like: <script src='/static/js/post.js?123'></script> Maybe have a shell script that you can run after pushing new version to the server that generates a timestamp and puts it in an include file and use that for version, eg: echo "<?php \$EBIN_DEPLOYED = $(date +%s);" > includes/deployed_at.php