ORIENT/modules/system/traits
Rachasak Ragkamnerd 70cd444f8a Added support for 'cache' attribute to addJs() to disable CF RocketLoader (#4092)
Credit to @itpcc 

Due to CloudFlare Rocket Loader, CF will automatically try to optimize page loading speed by changing script type attribute. This breaks the script execution order and makes the user unable to upload the file(s) in the backend using "FileUpload" widget.

However, [CloudFlare allows adding "data-cfasync"](https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts-) to prevent this. And it was used in the [commit #3841](https://github.com/octobercms/october/pull/3841/files).
2019-04-16 20:27:13 -06:00
..
AssetMaker.php Added support for 'cache' attribute to addJs() to disable CF RocketLoader (#4092) 2019-04-16 20:27:13 -06:00
ConfigMaker.php Stop automatically creating camel case versions of top level configuration keys 2019-03-18 14:08:47 -06:00
EventEmitter.php Extract child instructions 2018-08-15 19:25:42 +02:00
PropertyContainer.php Add backend and notifications settings category 2017-06-05 17:36:44 +10:00
ViewMaker.php Remove unused imports 2018-08-24 19:51:59 +02:00