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?

    #2
    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

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      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


        #4
        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


          #5
          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