Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# easfaw 8/6/2005 4:12 PM
Hello,

I am switching my site to use Cuyahoga. Creating the template has been
very easy.

I still have my html files up front - until I get everything right.

The question I have is - when I used a php file editor - to make a change
in my template file - the changes do not get picked up on the front-end.
Even when doing the ctrl-R (on IE) ??? I have also logged off and logged
back in.

Perhaps a related question - how long does template caching exist and
also - how long do NHibernate data caching exist (I know there must be a
lot of caching going on because performance is great).

Thanks,

Elias
# easfaw 8/6/2005 4:20 PM
Whoops,

Embarrasing fix - which actually answers some other questions.

I have two different (file) installs of Cuyahoga
and am using the same db for both.

So I was actually editing the wrong file.

Figured it out when going to "touch" the file via ftp to make sure the app was being re-started.

Elias
# martijnb 8/6/2005 4:42 PM
Yes, I was going to answer that there must be something else wrong because the templates (.ascx controls) are not cached at all ;). The template objects are cached via the NHibernate second level cache, but when you change them, they are invalidated from the cache, so switching a template is immediately visible.