I am hesitant to convert my script because I thought that getJson will affect my SEO. Aside from this, I feel that getJson is a bit slower. I just read in other forums that declaring global array is a bad practice. I just applied getJson in some of the pages in my website.
So all my pages has this basicdata.js
containing the array to get all product data. I have 150 items in this array.
Any thoughts and suggestion to help me decide whether to include the data in .js file or load it via getJson?