I'm currently doing a short-term contract which has involved a major overhaul of the UI of my employer's website. After a few months work we're finally at the point of going live and I've once again raised my concerns about the website's optimization.
I've tested the site during development and production and we're getting terrible scores from PageSpeed: 3/100, load times of almost 12 seconds, the homepage is 8mb, which is mostly due to images not being compressed. On top of that, our servers don't have gzip enabled and none of the CSS/JS is minified.
I've asked if we could at least compress the images and minify the CSS/JS but the rest of the team aren't worried about it. I'm happy to do this work myself and it goes against my principles to produce a website that's slow. But I need their approval to make these changes. I don't have the authority to force this issue since I'm a contractor.
Since this is an in-house production my employer is also the client and they are happy with the end-product. So should I just forget about the problems and mark the project as complete?
Which option is the more professional choice?
I can either:
Leave the project as it is but potentially regret it in the future when a client/interviewer asks to see my portfolio.
Push for optimization in a polite way, discuss the benefits of a fast site and complete the work as quickly as possible so the budget is only marginally affected.