Announcement Announcement Module
Collapse
No announcement yet.
Significance of "cacheSeconds" Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Significance of "cacheSeconds"

    I couldn't find any documentation of the significance of 'cacheSecond'. I saw the comments on the example of 'sellItems'.

    Code:
    		<!--
    			Set cacheSeconds to a small, non 0, value so you can do ctrl-N to open an new
    			window and experiment with the continuations stuff.
    		-->
    		<property name="cacheSeconds" value="5"/>
    Could someone elaborate this?

  • #2
    FlowController inherits it from WebContentGenerator.setCacheSeconds. It controls the caching headers sent to the browser.

    Comment


    • #3
      The sellitem sample sets it to a small, non-zero value because having 0 will cause Internet Explorer to display the 'warning, form resubmission required' screen when you do CTRL-N to open a new window.

      Erwin

      Comment

      Working...
      X