/
Generated assets are invalidated on hosting change [5.2.1]

Generated assets are invalidated on hosting change [5.2.1]

There 2 types of generated assets in In-Portal:

  • compressed JavaScript/CSS files (name of file contains hash from path of used files)
  • resized images (name of file contains hash from default/watermark image paths)

When In-Portal-based website is transferred to another hosting, where path to DocumentRoot is different, then all these assets are invalidated because full paths to source files used is now different.

Solution

Use only relative path to In-Portal root folder in such hash calculation.

Related Tasks

INP-1399 - Getting issue details... STATUS