Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Jboog 11/20/2007 1:53 PM
Hi there,

I'm having a little problem,

when I'm watching a website made with cuyahoga, and I open an article, menu, etcetera the whole page refreshes.

What I want to achieve is that only the content refreshes. Is this possible with the 'cache duration' option? And if I fill in 5, is this 5 seconds or 5 minutes?

Thanks in advance,

Jboog
# Efie 11/21/2007 10:55 AM
You want integrate some Ajax stuff in your website website I suppose. When your clicking on an article (or menu) you browsing to another url (or the same when it is a Postback.

It is not default behaviour from Cuyahoga (and also not from websites in general) to refresh only the content. I'm still working on the Cuyahoga-extensions project which should enable using Microsoft ASP.Net Ajax and some other techniques. I'm making a little progress in this the last couple of weeks and I'm still hoping to get the source online within now and a couple of weeks. However for some situations (e.g. articles) it should be possible to refresh only the content, but the menus still don't refresh only the content.

Regarding the cache, it has nothing to do with only loading content in a page, It is caching the content so not every request has to shoot a query at the database.