Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Multiple Regex-Based aliases , same page cache

Started by NicolasG 🇫🇷 6 years ago · 0 replies · 458 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 jeremycherfas, 1 week ago
4 176 2 days ago
General · by lynbor, 5 days ago
2 114 2 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 1 week ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 246 3 weeks ago