WordPress.org

Ready to get started?Download WordPress

Forums

My Custom CSS
[resolved] Question about load times (4 posts)

  1. krishnaviraj
    Member
    Posted 1 year ago #

    Hi DarkWolf,

    Great plug-in. Quick question: do you know of any reason this plug-in might slow down load-times? Does it conflict with the custom.css style sheet that most themes come with?

    http://wordpress.org/extend/plugins/my-custom-css/

  2. DarkWolf
    Member
    Plugin Author

    Posted 1 year ago #

    This plugin is intended to insert some css fix (or new rules) directly in source code instead to edit css theme/plugin, but if you insert *thousand line of codes... this can cause an increment of page size and then a more pageload :/
    Maybe i can try to write a new css instead to put inline and use browser cache to optimize pageload.

  3. krishnaviraj
    Member
    Posted 1 year ago #

    Hallo DarkWolf,

    Thanks for the reply. I only have 20-30 lines of code, but was noticing the page slowing down soon after I had downloaded the plug-in. It might have totally been correlation but not causation, so I just wanted to inquire if you had heard of any issues in the past, no worries.

    Do you think inline is quicker? I thought that putting CSS into the page directly would perhaps require more things to load, but I have no idea.

    Great plug-in. Very useful. One other question/suggestion - does the new CSS rules go into the style.css sheet? It would perhaps be useful if it can be implemented into the custom.css stylesheet that most themes want you to modify instead of the default stylesheet, but I'm not sure if that will create any issues. I have tried putting my code into the custom.css sheet directly without it working, but when I put it into your plug-in, it works perfectly, so I'm not sure if there is a difference there.

  4. DarkWolf
    Member
    Plugin Author

    Posted 1 year ago #

    I've make new 1.3 with file instead of database (file for browser - but database for admin panel). test please if this work best for you... It contain more other change and code optimization ;)
    -
    No, i think inline can be more slowly... Maybe is best with file (file can be put in cache from browser and this can improve performance) ;)
    -
    With last release u can read and write from admin panel and it write also in css file (with filemtime append for fix usercache browser - see screenshot) ;)
    -
    Now i think is perfect :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.