Jump to content



  • Posts

  • Joined

  • Last visited

  • Days Won


Community Answers

  1. Adlago's post in Cumulative Layout Shift (CLS) was marked as the answer   
    In your theme, you should create a template. For example

    Open this template core_global_analysis/preload_css, and add this code
    {{foreach array_unique( \IPS\Output::i()->cssFiles, SORT_STRING ) as $file}} <link rel='preload' href='{expression="\IPS\Http\Url::external( $file )->setQueryString( 'v', \IPS\Theme::i()->cssCacheBustKey() )"}' as="style"> {{endforeach}} and Save.
    Open your global template, and add before
    {template="includeMeta" app="core" group="global" location="global" params=""} This
    {template="preload_css" app="core" group="analysis" location="global" params=""}  
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy