Ticket #439 (closed defect: fixed)
Event Cache Issue
|Reported by:||sullah||Owned by:||lmajano|
|Component:||ColdBox Controller||Version:||2.6.0 Beta 2|
In the caching guide in the CB Docs, it says about event caching:
"Please be aware that an event can have several unique permutations depending on the incoming url/form parameters."
This is only true for me if I'm not using SES urls. For example, I'm working on a site where I have a 'page' event, which knows which page to display by passing it the page alias argument. So, with event caching turned on and when I'm not using SES urls the following two urls create different cache entries and the pages display fine:
However, if I turn SES routing on, whatever page I go to first is cached and then that cache entry is used for all subsequent requests to the 'page' event (even though the alias is different). So, for example, both of these urls would show the same page: