wp-media / wp-rocket

Performance optimization plugin for WordPress
https://wp-rocket.me
GNU General Public License v2.0
687 stars 215 forks source link

3.17 - Frontend Subtask #6840

Open jeawhanlee opened 1 month ago

jeawhanlee commented 1 month ago

Description

This is a continuation of the Frontend task here which already caters for adding hashes to eligible elements for urls that don't have LRC data in DB. So to be done after #6835

Moving forward to complete the frontend task in a case where LRC data exists in DB In WP_Rocket\Engine\Optimization\LazyRenderContent\Frontend::Controller::optimize

Acceptance Criteria

Additional information

This should be done after this is completed

MathieuLamiot commented 3 weeks ago

👋 @Tabrisrp As part of this PR, maybe you could get the occasion to improve test coverage of the frontend controller. We had a quick fix here (see Slack https://wp-media.slack.com/archives/CUT7FLHF1/p1724228398435879). Being able to change this logic without breaking any tests could be a sign that some stuff could be better covered I think :)

Mai-Saad commented 2 weeks ago

Using feature/lrc

MathieuLamiot commented 2 weeks ago

1st point discussed here Pending product confirmation of the expected behavior, and an issue to tackle it.