• Resolved Imagebrandydoll

    (@brandydoll)


    Hi Diana,

    What an awesome plugin, wow. It solves so many problems and frustrations. I’m grateful I found it. I’ve tried others and yours is the best, i.m.o.

    I have an immense stylesheet, maybe a world record for customizations, lol. Thus far, I have been using my theme’s CSS field to implement all my edits. And using your plugin for standalone scripts I upload to my server, and call via css link tags or js script tags. However, I am having cache issues with my theme rendering my edits without a hard refresh (which no viewer is going to do) and it suddenly occurs to me that I might just be able to use your plugin for ALL my css.

    So my questions are:

    1. Is it better to “Add Custom CSS” and put all my css in that way? Or, upload my stylesheet to my server, and call it through a <link rel=”stylesheet”…etc. link, the way I have been doing with my other scripts via your plugin? Or does it not matter.

    2. To your knowledge, is your plugin more effective at rendering changes immediately, without showing a cached version like I’m experiencing using my theme’s css provision?

    Thank you so much in advance. And I apologize if this was already addressed. But I had to get both questions in here anyway. 🙂

    • This topic was modified 6 years, 6 months ago by Imagebrandydoll.
    • This topic was modified 6 years, 6 months ago by Imagebrandydoll.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author ImageSilkyPress

    (@diana_burduja)

    1. It doesn’t matter

    2. The plugin adds a small “?v=123” after the file name, where the 123 is a random number that changes every time a custom CSS is saved. This lets the browser know that the file changed and it should retrieve the modified file instead of serving the cached file.

    Thread Starter Imagebrandydoll

    (@brandydoll)

    On #2 (the ?v=123 being added – brilliant, by the way!) that would not hold true if I were updating my stylesheet and uploading to my host (and only relying on the HTML header tag I created within your plugin, to call the sheet)…right? In that regard, for what I want to achieve (eradicating the cache issue) wouldn’t I be better off adding my css through the plugin itself and making all edits/updates there, so the little suffix forces a fresh load of the sheet? Just making sure I get it. :p

    Plugin Author ImageSilkyPress

    (@diana_burduja)

    You can add the CSS through the plugin or not. Do what you consider to be the best.

    Thread Starter Imagebrandydoll

    (@brandydoll)

    That did not answer the question. I am trying to determine if I update my sheet via my root directory, called only by a pre-established header link with your plugin (via “Add Custom HTML”), will the changed copy be served to viewers. Or does the action of inputting my edits (via “Add Custom CSS”) facilitate the forced fresh copy. I think based on your original answer (to question 2) that is the case. If so, then it does matter which way it’s done. Thanks for the replies. 🙂

    Plugin Author ImageSilkyPress

    (@diana_burduja)

    Better write the CSS directly in the “Add Custom CSS” page.

    Thread Starter Imagebrandydoll

    (@brandydoll)

    Ok perfect – that is what I was looking for. This answer will help others as well, due to the cache issues we’re experiencing after working so hard on coding changes. Have a great weekend, and many blessings to you for making this problem-solving app! ❤

    Plugin Author ImageSilkyPress

    (@diana_burduja)

    Thank you for the kind words 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Best way to create css? 🤔’ is closed to new replies.