Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Improve LightSpeed to only use page-parameters used in the code #3395

Closed
3 tasks done
iJungleboy opened this issue May 28, 2024 · 0 comments
Closed
3 tasks done
Assignees

Comments

@iJungleboy
Copy link
Contributor

iJungleboy commented May 28, 2024

I'm submitting a

[x] feature request

...about

[x] LightSpeed Cache

Current Behavior / Expected Behavior

ATM Lightspeed can be configured to use all page parameters to determine caching.

This can lead to scenarios where random parameters are added to the url such as ?ref=some-website resulting in an endless amount of items added to the cache.

So we want to add more control with only the parameters being used by code resulting in cache differences.

  • track which parameters are accessed on MyPage.Parameters
  • Adjust Lightspeed to filter by these parameters
  • ensure that parameter order is ensured, so that id=4&sort=asc is the same as sort=asc&id=4

Your environment

  • 2sxc version(s): 17.09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: v17.10
Development

No branches or pull requests

1 participant