= Frequently Asked Questions =
[[TOC(noheading,inline)]]
== How do I enable the Html-cache? ==
NB!(Pre Escenic 4.3)
* The html cache service has to be started (on one server if in a cluster). To start the service, the component called /neo/io/services/HtmlCache has a property called htmlCacheEnabled, which is by default switched on. In a multi server environment, it should therefore be switched off on all servers except one, to avoid conflicts when writing the same file.
* The server needs write permission to section directories, in order to write/delete the index.html file.
* "[[x] html cache" in the section editor will now work.
== What is the Html-cache? ==
The HTML Cache is a poor mans web cache. It is a service which listens to events which indicate that a section page has changed, and issues a HTTP request to itself, and stores the resulting HTML page as the file 'index.html' in the same directory as 'index.jsp'.
Effectively, this makes web requests for index pages very efficient, since some front pages are accessed several thousand times for every update.
Updates are not done instantly; they are queued. The queue of sections is available in the Component Browser under /neo/io/managers/[SectionManager], under the property queueOfSections. This queue will include all sections, not just the ones with HTML caching enabled; All updates to any sections will put the section in the queue. When the queue is serviced (the queue is serviced after a three-second grace period), the section is checked for its htmlcache=true|false flag, and if the flag is true, the html cache is updated.
The html cache is updated via a simple HTTP GET request to the page, passing the userid / password as specified by the 'htaccess.user' and 'htaccess.password [wiki:PublicationFeatures Publication feature]
If using a Web Cache of some sort, the HTML cache itself is probably superflous.
== How do I enable cross publishing? ==
Cross publishing is the possibility of showing an article in the context of a section __different__ than its home section. Cross publishing may also be done across publications. There is a [wiki:CrossPublishing] available.
== How to start a new service without restarting Escenic? ==
Just call it in the Component browser. Say you've added "service.123=/my/service".
You could just browse to the component browser: /browser/my/service
http://your.server:8080/admin/browser/my/Service
== Why can not ece_frontpage be used as home section for an article? ==
It can :)
See howto on this page: [wiki:PublicationFeatures]
== Can I define multiple servers in config.properties for studio? ==
Yes you can, but I would use studio.xml (Only up to version 4.1-6 and 4.2-1. Doesn't make sense in 4.3-1 and later since it is using Java Web Start)!
Just create a file called studio.xml in your Escenic Content Studio installation directory. Edit as wanted.
{{{