Hi,
I have got here strange behavior with my mason:
I created a new file (page) in my mason directory (/srv/www/htdocs/mason)
called test.html. Then I entered only line <h1>Hello world</h1> and closed the
file. I opened the browser and called the page. Everything was OK. But then I
opened the file again and after world I entered two points (<h1>Hello
world..</h1>), saved and closed the file. Then I clicked on my browser window
and refreshed the page. But the text stays still "Hello world" and not "Hello
world..". Then I restarted the apache server (/etc/init.d/apache2 restart) but
no change. Only after some time (hard to say how long) will the change take
effect. Then I realised, that mason creates in its working directory
(/srv/www/mason) an "obj" directory and there it stores results of component
parsing and the page is taken from there and not from its original place. One
can even change the file in the "obj" directory and the change will take
immediately effect. The only way for me how to disable this "caching behavior"
was to add following line to mason config:
PerlSetVar MasonUseObjectFiles 0
and then restart apache.
Now my questions :-)
1. Why doesn't get the file in "obj" directory changed immediately after
changing the original file?
2. How long does it take for mason to realise that there were some changes
done? Can I configure this time?
3. What is the normal (standard) way to tell mason that there were some changes
done (let's say I changed some text, saved the page and now I want to test the
changes)?
Cheers
Pavel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users