Warning: Undefined array key "id" in
/var/www/html/classes/HtmlRenderer.class.php on line
586
Warning: Undefined array key "guid" in
/var/www/html/classes/HtmlRenderer.class.php on line
586
Warning: Undefined array key "id" in
/var/www/html/classes/HtmlRenderer.class.php on line
589
Warning: Undefined array key "id" in
/var/www/html/classes/Users.class.php on line
358
Warning: Undefined array key "role" in
/var/www/html/classes/Users.class.php on line
359
Warning: Undefined array key "id" in
/var/www/html/classes/Board.class.php on line
882
Warning: Undefined array key "guid" in
/var/www/html/classes/Board.class.php on line
883
Warning: Undefined array key "id" in
/var/www/html/classes/Board.class.php on line
891
Warning: Undefined array key "guid" in
/var/www/html/classes/Board.class.php on line
892
File 17447911061518344.png - (224.49 KB, 474x339, image.png) 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
Expand all images
Warning: Undefined array key "id" in
/var/www/html/classes/HtmlRenderer.class.php on line
586
Warning: Undefined array key "guid" in
/var/www/html/classes/HtmlRenderer.class.php on line
586
Warning: Undefined array key "id" in
/var/www/html/classes/HtmlRenderer.class.php on line
589
Warning: Undefined array key "id" in
/var/www/html/classes/Users.class.php on line
358
Warning: Undefined array key "role" in
/var/www/html/classes/Users.class.php on line
359
>>
Cache busting is important.