Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Multiple Regex-Based aliases , same page cache

Started by NicolasG 🇫🇷 6 years ago · 0 replies · 497 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 Andy Miller, 6 days ago
0 108 6 days ago
General · by lynbor, 1 month ago
3 437 2 weeks ago
General · by lynbor, 3 weeks ago
7 557 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago