Skip to content

v3.2

Latest
Compare
Choose a tag to compare
@ssachtleben ssachtleben released this 30 Sep 11:24

Improves resilience of Styla content in case on error response from the SEO API:

  • in case the SEO API (seoapi.styla.com) responds with an error (<>2xx Status) then such responses are not cached or cached for a short time, so that the content from the API can be instantly recached and served,
  • in case of an error response from the SEO API, the resulting error for a Styla page, it no longer redirects to a default Hybris 404 and instead serves a Styla page with Styla JavaScript included. This script can render page content matching the requested path, even if the SEO API responds with an error,
  • decreased default caching time in the the src/styla/resources/cache/ehcache.xml from 60 to 10 minutes.

As a result, in case of an error response from the SEO API, the Styla script renders the content instead of Hybris 404 pages. And once the SEO API responds with a 200 and the page content, the extension can recache and render the content server-side fast.