Jump to content

Performance Impact of Markup Regions


thausmann
 Share

Recommended Posts

Hey, I just refactored my site to use markup regions and noticed slower responses / rendering times by two-four times.

I'm having a landingpage with a Pagetable that has 15 blocks, most of them have a little CSS with mediaqueries that I can now put in the header with pw-append, which is nice, but seems especially costly to do it 15 times. I put together a minimal example showing the speed impact: https://gist.github.com/timohausmann/e7643d75e26135450dab63e33c94de8f

This effect scales up so my real page went from 600ms to 3.2s. The page gets cached in the end so it's not a total deal breaker, but I'm wondering if I'm doing something wrong, or if this is normal and markup regions and pw-append aren't designed to be used repeatedly?

Thanks for reading!

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...