Announcement

Collapse
No announcement yet.

ReadyTheme Content Sections

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ReadyTheme Content Sections

    I moved the css link elements and some css style definitions that were in the Head Tag section into a ReadyTheme content section and then put that item tag in the Head Tag section - just making some of this a little more legible. I was surprised at how much faster my pages load now and wondered at that - are the ReadyTheme content sections cached or is there some other reason why moving that code in there seems to have noticeably sped up all my pages?

  • Chances are that your CSS is now being called outside the HEAD tag since the content element puts the content in a DIV. This can cause issues in some older browsers.
    Matt Zimmermann
    Director of UI/UX Standards and Theme Development
    / Miva, Inc.

    Comment


    • If your server is setup correctly (or alternately, you have htaccess directives) CSS in files are cached, so it would be even faster to add those inline styles to .css file. Minify and compile them if possible.
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment


      • Originally posted by Matt Zimmermann View Post
        Chances are that your CSS is now being called outside the HEAD tag since the content element puts the content in a DIV. This can cause issues in some older browsers.
        Ah. Okay. I see the div tags in the head tags when I look at the page source.

        Comment


        • Originally posted by Bruce - PhosphorMedia View Post
          If your server is setup correctly (or alternately, you have htaccess directives) CSS in files are cached, so it would be even faster to add those inline styles to .css file. Minify and compile them if possible.
          Thanks Bruce. Most of them are .css files. I could see the change in page load - pretty substantial- but those div tags inserted by the content element in the head tags looks like trouble. I'll do as you suggest and minify whatever is un-minified and move out any inline code.

          Comment

          Working...
          X

          This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

          This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

          Accept