wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

Exclude 'var wpforms_user_journey' inline JS from combine JS to avoid cache dir size issue

Open alfonso100 opened this issue 3 years ago • 0 comments

Before submitting an issue please check that you’ve completed the following steps: yes - Made sure you’re on the latest version yes - Used the search feature to ensure that the bug hasn’t been reported before

Describe the bug var wpforms_user_journey is dynamically changing page_id value

example: https://cb-hypnotherapy.com/hypnotherapy-treatments/ script: https://snippi.com/s/i9cijuz

To Reproduce Steps to reproduce the behavior:

  1. Install WPForms User Journey
  2. Enable Combine JS
  3. The cache dir size will grow because of the combined files

Expected behavior Exclude var wpforms_user_journey from combine js to prevent the issue

Screenshots If applicable, add screenshots to help explain your problem. https://jmp.sh/DlCRFqe

Backlog Grooming (for WP Media dev team use only)

  • [ ] Reproduce the problem
  • [ ] Identify the root cause
  • [ ] Scope a solution
  • [ ] Estimate the effort

alfonso100 avatar Jul 05 '22 18:07 alfonso100