Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Multiple Regex-Based aliases , same page cache

Started by NicolasG 🇫🇷 7 years ago · 0 replies · 579 views
7 years ago

Hello
How can I not have the same cache with Regex-Based aliases.
Each wildcart allow me to filter on an element of the frontmatter with a collection hook.

The problem is that if I enable the cache, despite the alias url changing, I end up with the same cached content.

I tried to add either parameters (/param:$1), or queriesstrings (?foo=$1), it causes me to get "memory exceeded" (because it can't find the file).

Is there a solution with cache enabled please?

Thanks

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 24 hours ago
2 40 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago