Contact | Privacy | Datenschutzerklärung | Impressum

Caching

Internet browsers and proxy servers can cache Internet pages. This means that keep a local copy and once the same page is requested again, they provide the local copy rather than getting the page from the original server. This is very useful for static pages since it reduces the net traffic significantly.

Caching is however a real problem for dynamic Web applications. It can result in very strange behavior of Web applications and it is difficult to find out such a problem. For example if a page is generated personally for a certain user a proxy cache could deliver the same page to someone else. If a page is designed to change upon user interaction the user could get an old copy of the page, not reflecting any changes.

On the other hand there are many applications where caching is very beneficial, even if the pages are generated dynamically. For example a typical product catalog generated from a database is cacheable.

Because of the big problems with cached application pages heitml per default disables caching of the pages generated. Using the expire component caching can be activated for a certain page that contains the expire tag.

You should switch on caching if the page content is fixed for at least several hours. The page can contain database content as long as the database does not change frequently and as long as the user can not change the content of the database. Do not use condbrowser or any other component that changes the page based on the requesting user/browser in cacheable pages.

Please note that page caches look at the complete URL including parameters. So if a page always has the same content for the same URL parameters you can mark it cacheable.

Reference

Component:expireDetails
This page should expire in caches RELTM seconds after ABSTM.
pages can be interactive and change dynamically. Such pages should not be cached by clients or proxies. currently marks all pages as not cacheable. This component marks the current page as cacheable and declares its cache expiration time.
Property Kind Description
ReltmInteger Relative expiration time in seconds 


This page was dynamically generated by the web application development tool RADpage of H.E.I. H.E.I. provides support, tools, and services like Webdesign in Mannheimm, the HTML/CSS 3D WebGL Animation Library taccgl, 3D Webdesign, and 3D Product ConfiguratorDemo (3D Produkt Konfigurator Demo in German).
© 1996-2019 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
  Application
  Generic
    Adaptive
    Repeaters
    Panels
    Fields
    Persistence
    Messages
    Caching
  Programmable
Programming
User Guide
Services
Privacy
Datenschutz
 
Contact / Impressum