Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Latest News
    • Small Business

    Internet Insight: Right Way to Build Dynamic Content

    Written by

    Paul Korzeniowski
    Published April 1, 2002
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Once a company decides to distribute its dynamic content, it has to put mechanisms in place to ensure proper page creation. The ESI specification includes features to help ensure that page information is updated correctly.

      The markup language starts off by outlining how each Web page should be composed. Each file is subject to its own configuration and control, its own time period to be stored in cache, and various revalidation instructions.

      Edge Side Includes provides a couple of conditions to determine how to look for updated information. A conditional inclusion feature is based on application comparisons or environmental variables, such as cookie information. Cookie information identifies incoming users, so if someone has been to a site before and shown an interest in stock quotes, for example, that person can be pointed toward stock quotes again. These variables can be used inside ESI programming statements or on the outside of ESI blocks.

      Also, the standards exception and error-handling functions allow developers to specify alternative pages and default behavior in the event that an origin site or document is not available. An explicit exception-handling statement outlines how a server should respond when a severe system or network problem occurs.

      Due to the unpredictable nature of frequently changing content, ESI also includes a content invalidation specification. This specification is used by syndication servers, content management systems, databases, custom scripts and application logic to send HTTP messages to the appropriate cache. The invalidation message tells the cache or delivery network to overwrite the metadata (the information about where data is stored) associated with particular objects residing on edge servers.

      Integrated into an application server, the invalidation specification allows for the purging of outdated or undesired content from a local cache or a content delivery network. A database trigger, a script or another piece of code can set off this process. When a catalog item is flagged in the database, it is no longer viewable on the Web site.

      JESI (Edge Side Includes for Java) are extensions to the Java programming language that enable JSP (JavaServer Pages) to call ESI components. JESI supports two usage models: one for new JSP pages and another for existing pages. With the former, a developer can divide a page into independent JSP fragments and indicate how these JSP fragments are to be assembled into an aggregated page. An Includes command declares in templates where fragments will be inserted during the page building, and a control command outlines templates and fragment attributes such as an expiration date. In addition, ESIs parameter item specifies any additional considerations, and the code-block command declares a code block to be executed during template generation. These different functions help ensure that a Web site presents accurate dynamic information from many sources to interested users.

      Paul Korzeniowski
      Paul Korzeniowski

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.