In the js interface, ajax, or php curl, and then assign values through the template, which is faster, ha?

which will be faster, ajax, or php curl in the js interface, and then assign values through the template?

Aug.17,2021

try to put the template on the front end. The back end only returns pure data, such as json data or xml data, and then splices it at the front end. This saves traffic and is faster

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3cdca-2c342.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3cdca-2c342.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?