[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture

Search:


View post   

>> No.19579386 [View]
File: 111 KB, 549x500, 107.png [View same] [iqdb] [saucenao] [google]
19579386

>>19578723
>Having the whole fucking dojg in a single page is a terrible practice
Why is that? Furthermore, what would you suggest as an alternative approach?

>I still don't know why you'd import that whole jquery heap of junk for absolutely nothing.
Are you referring to that 85kb jquery-3.2.1.min.js file? I think it is for the floating "back to top" button which appears after the page has scrolled down for a certain amount. I found a pure javascript alternative which is 4kb and does the same thing, I think.
Will have a look to see if the 85kb jquery file can be replaced with this 4kb alternative on any other pages. I don't really have much in the way of actual knowledge regarding this whole website development thing, pretty much winging it. Specific constructive feedback is always helpful, otherwise I'm more or less feeling around in the dark.

Navigation
View posts[+24][+48][+96]