Replies: 1 comment
-
I presume you're using a cache driver that supports keys? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I have a site, where the users can filter for products.
The website is cached
half
. For the filter section I use the{{ nocache }}
tag, otherwise it would not work.The filter works with url params, like this:
https://kabelmat.com/produktfinder?funktion=lagern|transportieren&verschiedenes=konfigurierbar&betriebsart=manuell
The loading times are really high, so I've tried to cache the content by generated keys:
{{ cache for="{ get | option_list | slugify }" }}
But this seems to have no effect.
To generate the filter links dynamic I use this snippet, what is called about 10 times:
The collection contains about 100 entries with a depth of 3.
Does someone have an idea to get the loading times faster.
Beta Was this translation helpful? Give feedback.
All reactions