Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Multiple Regex-Based aliases , same page cache

Started by NicolasG 🇫🇷 6 years ago · 0 replies · 406 views
6 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 jean-louis67, 3 days ago
2 82 2 days ago
General · by Andy Miller, 7 days ago
0 146 7 days ago
General · by Veehem, 1 week ago
0 146 1 week ago
General · by milkboy, 1 week ago
0 140 1 week ago
General · by ian russell, 2 weeks ago
2 226 2 weeks ago