Optimal coding
3 posters
Page 1 of 1
Optimal coding
Technical Details
Forum version : #phpBB3
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari, Other
Who the problem concerns : All members
Forum link : http://www.nfssecrets.tk/
Description of problem
What would be the best way to use codes on the forum?Is it fine if you create new javascript file every time you want to implement something, or having everything (that can be combined) in 1 JS file?
What are your thoughts?
Last edited by BloodDrunk on May 1st 2017, 11:46 pm; edited 2 times in total
Re: Optimal coding
On my forum, I have a js for everything with placement on all pages, one for index etc. I don't think that it would make any difference making separate js files on combining codes into a single file.
Guest- Guest
Re: Optimal coding
Yep, you can do that. There is a limit of the number of js files that you can have, 40 or something like that is the maximum.
Guest- Guest
Re: Optimal coding
When I first started using forumotion, I had at least 30 javascripts on my forum. I was using anything I could find on the net. Just imagine how slow my forum was.
Guest- Guest
Re: Optimal coding
Combining them does somewhat help with speed. Just make sure that you combine ones that affect the same area, like all pages, in topics.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum