Archived topic
header and footer menu elements
1 reply · Started by Drew on August 25, 2021
Hi, was wondering if you could please check my header and footer menu to see if this was done correctly. I had someone update this using hooks and although it seems to function ok, I want to know if it was done properly. I am mostly concerned about speed optimization and if it could be done differently?
Thanks
Hi Drew,
I don't see anything out of the ordinary. The structure looks fine.
If optimization is the main concern then the worry should be on what's the best combination of settings with the optimization plugin you're using.
The checklist would be:
- Do I have to aggregate JS or CSS? If yes, do I have to exclude some stylesheets?
- Do I have to write a Critical CSS? If yes, what should be included?
- Does the site need Lazyload? If yes, which images may have to be excluded?
- Do I have to preload some assets? If yes, which ones? (usually the fonts and hero images)
- Do I have to optimize image that are served? If yes, how? (compression and/or CDN)