Split off from #3192274: D7: Upgrade to v2.0.0 and add parameters

We would like to take advantage of some of the new performance gains and options in Quicklink v2.0.0. Also, we are facing some of the same issues identified here due to the module adding more overhead than we would like: https://www.drupal.org/project/quicklink/issues/3145964

Comments

mherchel created an issue. See original summary.

mherchel’s picture

StatusFileSize
new11.81 KB

Attached is the patch from #3192274-4: D7: Upgrade to v2.0.0 and add parameters by @InaW

mherchel credited InaW.

mherchel’s picture

mherchel’s picture

Status: Active » Needs review
StatusFileSize
new6.37 KB
new12.4 KB

Fixed some issues in the patch and also updated to 2.1.0

mherchel’s picture

StatusFileSize
new18.89 KB
new16.1 KB

✅ Tests passing
✅ Fixed schema
✅ Renamed "Parameters" to "Throttle Options"
✅ Moved URLs to a "Prefetch Only" tab
🟩 Test coverage for throttle options
🟩 Add support for options.delay
🟩 URLs should not be in settings.quicklink.quicklinkConfig anymore
🟩 Debug log doesn’t reflect when ignoring file extensions
🟩 Add feature to ignore selectors
🟩 Debug log doesn’t reflect when ignoring ajax links

mherchel’s picture

StatusFileSize
new28.07 KB

✅ Test coverage for throttle options
✅ Add support for options.delay
✅ URLs should not be in settings.quicklink.quicklinkConfig anymore
🟩 Debug log doesn’t reflect when ignoring file extensions
✅ Add feature to ignore selectors
🟩 Test coverage for feature to ignore selectors
🟩 Debug log doesn’t reflect when ignoring ajax links

mherchel’s picture

StatusFileSize
new30.55 KB

✅ Test coverage for feature to ignore selectors

mherchel’s picture

StatusFileSize
new45.71 KB

This is the final patch for the 2.0 dev release.

✅ Added hook update
✅ disabled polyfill by default
✅ Tests that ensure that JS isn't loaded when quicklink or debug mode isn't enabled.
✅ Test that quicklink isn't enabled on content types where it is disabled.

mherchel’s picture

Status: Needs review » Fixed

Committed to 2.0.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.