itsthejoker / filamentcolors.xyz

The source code for a small website to compare pieces of printed filament.
MIT License
77 stars 5 forks source link

Evaluated size of HTML is estimated to be over 125 KB and risks not being fully cached. #60

Open itsthejoker opened 1 year ago

itsthejoker commented 1 year ago

Recommended action Ensure that the page source does not contain large amounts of CSS or code at the top of the page. Consider moving code and styles into separate files.

Search engines may not fully acquire the content on a page if the page is contains a lot of code. Extraneous code can push the content down in the page source making it harder for a search engine crawler to get to. A soft limit of 125 KB is used for guidance to ensure all content & links are available in the page source to be cached by the crawler. This basically means if the page size is too big, a search engine may not be able to get all of the content or may end up not fully caching it.

itsthejoker commented 7 months ago

This should be fixed by:

This is stupid and Google is encouraging awful practices, but hey. That's what we've got.