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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Multiple Regex-Based aliases , same page cache

Started by NicolasG 🇫🇷 6 years ago · 0 replies · 339 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 Jerry Hunt, 4 days ago
2 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 16 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 5 days ago
3 43 5 days ago