Ticket #439 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Event Cache Issue

Reported by: sullah Assigned to: lmajano
Priority: highest Milestone: 2.6.0
Component: ColdBox Controller Version: 2.6.0 Beta 2
Severity: critical Keywords: event caching
Cc: sullah

Description

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:

mysite/index.cfm?event=content.page&page=services mysite/index.cfm?event=content.page&page=aboutus

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:

mysite/index.cfm/content/page/services
mysite/index.cfm/content/page/aboutus
http://forums.coldboxframework.com/index.cfm?event=ehMessages.dspMessages&threadid=A6E000F7-FF65-CEF6-651AF70B3BE1B8A9&#top

Change History

05/11/08 01:59:37 changed by lmajano

  • status changed from new to closed.
  • resolution set to fixed.

Copyright 2006 ColdBox Framework by Luis Majano