[MAGNOLIA-8800] Allow for a regex whitelist in RequestHasParametersVoter Created: 02/Mar/23 Updated: 23/Oct/23 Resolved: 07/Mar/23 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0, 6.2.30 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Marek Strucka | Assignee: | Marek Strucka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
|||||||||||||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||||||||||||
| Template: |
|
|||||||||||||||||||||||||
| Patch included: |
Yes
|
|||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
|||||||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
|||||||||||||||||||||||||
| Documentation update required: |
Yes
|
|||||||||||||||||||||||||
| Epic Link: | DevX Bucket | |||||||||||||||||||||||||
| Sprint: | DevX 32 | |||||||||||||||||||||||||
| Story Points: | 0 | |||||||||||||||||||||||||
| Team: | ||||||||||||||||||||||||||
| Work Started: | ||||||||||||||||||||||||||
| Description |
|
We want to maintain configurable rlist of regex patterns describing the tags which can be ignored when deciding whether or not to cache page and be able to insert e.g. a regex for utm_* tags into that list. In the cache project, a RequestHasParametersVoter is to be refactored to allow for a whitelist of patterns. This way users would specify the sites with tracking tags (as a regex) they would like to return cached. user would set the pattern (alter the whitelist) in configuration/modules/cache/config/contentCaching |