Assets are CSS/JS files that are used on almost all pages to make them look/work as expected. To ease development process developers can create multiple CSS/JS files and In-Portal would combine them together to make page load faster (less network traffic). It works like this:
- upon page load the missing assets are generated and existing assets are reused
- during new website version deployment all assets are deleted
This approach works fine, when In-Portal is used to both "show the page" and to "prepare page html".
Unfortunately when In-Portal page referencing assets is transformed into static HTML and later used outside of In-Portal (e.g. on the WordPress) the referenced assets won't exist anymore. The assets won't exist because next deployment removed them in hope, that next website visit would happen and rebuild them.
Solution
In the "MinifyHelper::delete" method CURL website homepage to trigger generation of assets.