so this is a simple custom website without frameworks, and i dont know how to cache this website and i need help since im not using any frameworks, im wondering how to cache it so it performs better?
you guys have any idea, please let me know, thanks!
ohh and fogat to mention, not very much concernd with the desktop version, its more about the smartphone version performance…
hey hello, so this code i can add it to the js.file right? …so you know im not using any framework at all right?..
and about the classList property of null, well they do have an ID on it, so do you think i should remove the class of the element or change the name of the class element, so they dont conflict with each other?
or since its saying classlist and im putting an ID instead of a classname, maybe this is what trigger this error, but now how do i fix it?,
cause i remember when i came out with this code, this, it was the only way i found to make it work you know
so let me know if anything give me a hint haha, thanks!
what?, print2 as an ID it does exist in page2.html, the problem its that i have the same name for the classname, so i dont know if this generates a conflict with each other, the only ID that do not exist in the html is the print3, which is on the ,css file cause its java ID swap…i do think the issueits the fact that im using IDs with a classlist/classname java syntax
if you know how to fix it let me know
so now that i think about it, im going to use a classname SYNTAX after the classlist, and leave the ID with the get element by ID
As per the my previous post, id="print2" is different to class="print2".