Interesting - I'm confident I am using parseExtensions (as I haev .pdf, .csv, .xml layouts, folders and views) - is that the right answer?? I've never seen the _ajax extension in my view files... I'm on RC2... you don't happen to know if this is a recent addition do you?
Thanks for the info.... On Nov 27, 3:49 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > Are you using parseExtensions? > > in my cache I have cache files in standard format and also those in ajax > > eg: for gallery controller show action I have 2 types of files reated in the > cache > gallery_show_91_6675.php > gallery_show_91_6671_ajax.php > > hth > Sam > > 2008/11/27 the_woodsman <[EMAIL PROTECTED]> > > > > > Hi Bakers, > > > I've posted about this before, but I think I can express the issue > > clearer now, so I thought I'd try again: > > > I don't understand how view caching and Ajax can work together. > > > When ajax calls my app for a page, it returns with minimal layout etc, > > which is correct. > > I also have non ajax links to the same pages, which *should* return > > the full layout etc. > > > However, if the hit that cached the page was an ajax one, all normal > > links will return ajax specific content (i.e no layout) until the > > cache expires. > > > I can't be the first person to come across this... any known solutions/ > > workarounds? > > > Thanks in advance, > > Elwood --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
