Warning: Undefined array key "id" in /var/www/html/classes/HtmlRenderer.class.php on line 25

Warning: Undefined array key "id" in /var/www/html/classes/HtmlRenderer.class.php on line 27

Warning: Undefined array key "id" in /var/www/html/classes/HtmlRenderer.class.php on line 29

Warning: Undefined array key "id" in /var/www/html/classes/HtmlRenderer.class.php on line 30

Warning: Undefined array key "id" in /var/www/html/classes/HtmlRenderer.class.php on line 31

Warning: Undefined array key "id" in /var/www/html/classes/HtmlRenderer.class.php on line 32
/meta/ - 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:<br /> <script src='/static/js/post.js?123'></script><br /> <br /> 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:<br /> echo "<?php \$EBIN_DEPLOYED = $(date +%s);" > includes/deployed_at.php
[ ukko / epic / a / b / coco / fap / fit / g / hikky / int / m / meta / n / nom / p / tv / upi / x / yolo ]
Warning: Undefined array key "id" in /var/www/html/classes/HtmlRenderer.class.php on line 175

Warning: Undefined array key "guid" in /var/www/html/classes/HtmlRenderer.class.php on line 175
[My] [Replied] [Hidden] [Watched] - [WT] [NT 0] [Home] [Preferences]
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/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/Users.class.php on line 540

Warning: Undefined array key "guid" in /var/www/html/classes/Users.class.php on line 540
[Return]
Posting mode: Reply

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/HtmlRenderer.class.php on line 409
Name
Subject
Message
File
Embed
  • Maximum file size allowed is 25MB
  • Images greater than 250x250 pixels will be thumbnailed.
  • View catalog


Warning: Undefined array key "id" in /var/www/html/classes/Board.class.php on line 604

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)
990
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.

Warning: Undefined array key "id" in /var/www/html/classes/Board.class.php on line 552

[Return] [Catalog] 1 Replies • Page 0 • Opened 54 times • 0 Followers • 0 Hides
Reason

[ ukko / epic / a / b / coco / fap / fit / g / hikky / int / m / meta / n / nom / p / tv / upi / x / yolo ]