Hello Everyone,
I am trying to come up with a way to cache the topmenu dynamically based on a category id. Currently, we have stores separated by category rather than by store so this makes it harder to handle each store. So my issue is that topmenu is taking a long time to load and so we want to cache it. Well when I set a cache_lifetime on the block in the layout.xml file it caches it and loads correctly, but when I go to another category it keeps the same topmenu output as whatever category topmenu was cached first. So I'm trying to make it to where it's caching based on the category id.
Anyone have any ideas?
If you need more information please let me know.
Thank you!