Close
  • Latest News
  • 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
Logo
  • Latest News
  • 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
    Home Latest News
    • Small Business

    Internet Insight: Right Way to Build Dynamic Content

    By
    Paul Korzeniowski
    -
    April 1, 2002
    Share
    Facebook
    Twitter
    Linkedin

      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

      MOST POPULAR ARTICLES

      Cybersecurity

      Visa’s Michael Jabbara on Cybersecurity and Digital...

      James Maguire - May 17, 2022 0
      I spoke with Michael Jabbara, VP and Global Head of Fraud Services at Visa, about the cybersecurity technology used to ensure the safe transfer...
      Read more
      Cloud

      Yotascale CEO Asim Razzaq on Controlling Multicloud...

      James Maguire - May 5, 2022 0
      Asim Razzaq, CEO of Yotascale, provides guidance on understanding—and containing—the complex cost structure of multicloud computing. Among the topics we covered:  As you survey the...
      Read more
      Big Data and Analytics

      GoodData CEO Roman Stanek on Business Intelligence...

      James Maguire - May 4, 2022 0
      I spoke with Roman Stanek, CEO of GoodData, about business intelligence, data as a service, and the frustration that many executives have with data...
      Read more
      IT Management

      Intuit’s Nhung Ho on AI for the...

      James Maguire - May 13, 2022 0
      I spoke with Nhung Ho, Vice President of AI at Intuit, about adoption of AI in the small and medium-sized business market, and how...
      Read more
      Applications

      Cisco’s Thimaya Subaiya on Customer Experience in...

      James Maguire - May 10, 2022 0
      I spoke with Thimaya Subaiya, SVP and GM of Global Customer Experience at Cisco, about the factors that create good customer experience – and...
      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.
      © 2021 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.

      ×