Support » Plugin: WP Scripts & Styles Optimizer » Suggestions

  • Hi, I like the look of this plugin and have some suggestions for you.

    * change “unequal” to “not equal”

    * allow the order of js and css to be changed

    * allow multi selection of pages / posts / custom post types

    * allow entering of url for pages that are dynamic such as woocommervce checkout etc

    * allow own groups so that specific css / js can be grouped and then allow a group to have option of minify / combine

    * enable change of url path for css / js so that they can be loaded from different CDN servers

    * enable for admin backend pages / paths so css / js can be optimized / removed when not needed in backend

    * admin backend option to enable / disable changes for current user

    * add brackets to conditions to enable condition grouping

    * add other conditions eg day of week, date range, time range, if admin, in role etc

    * ability to alter http headers for js / css eg expiry, cache, etag etc, also ability to reset cache settings for when js / css are updated

    You have the potential to have a great plugin that could help optimize wordpress content which you could sell with extra features. Good luck.

    https://wordpress.org/plugins/wp-script-optimizer/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Hendrik Lersch

    (@riddler84)

    Hi, thanks for this “extensive” suggestion list. I will go through it step by step 😉

    change “unequal” to “not equal”

    Yeah, maybe you have noticed, english is not my native language. i will change that in the next version 🙂

    allow the order of js and css to be changed

    I have think of it and will check it out, when i change the script-list to allow a better overview of the dependencys. maybe drag&drop..

    allow multi selection of pages / posts / custom post types

    Please, could you explain that a little more? i don’t get it.

    allow entering of url for pages that are dynamic such as woocommervce checkout etc

    Yes, vou’ve probably noticed, that only globally enqueued scripts are processed by this plugin. This has the simple reason, that wordpress register, enqueue and print scripts on the fly with each page load. So theres only two ways: Check only global scripts, e.g. from the frontpage of a site or check it on a per page basis and make it configurable via admin bar etc. Maybe i will make the second way as an additional feature.

    allow own groups so that specific css / js can be grouped and then allow a group to have option of minify / combine

    This will definitely be included.

    enable change of url path for css / js so that they can be loaded from different CDN servers

    Instead of changing the url of a registered script, it’s maybe better to give the user the ability to add custom scripts via backend and then deactivate the original script. This is already on my to-do list.

    enable for admin backend pages / paths so css / js can be optimized / removed when not needed in backend

    You mean the same list, but for backend scripts? Yes, that should be not a big problem. but this has the potential to break the admin panel, what makes it more complicated to resolve an issue, if you can’t disable plugins anymore etc.

    admin backend option to enable / disable changes for current user

    Current user means what? Because every logged in user is a current user 😉
    Or you mean whitelisting / blacklisting of user id’s?

    ability to alter http headers for js / css eg expiry, cache, etag etc, also ability to reset cache settings for when js / css are updated

    Will check it out..

    You have the potential to have a great plugin that could help optimize wordpress content which you could sell with extra features. Good luck.

    Thank you! I will try to improve it as best as i can to make it the (hopefully) best all in one solution for script handling for wordpress. We will see.. 🙂

    You can Ajax it from the back end.
    https://wordpress.org/plugins/wp-asset-clean-up/

    Please add security only admin allow for any changes

    Plugin Author Hendrik Lersch

    (@riddler84)

    That should be the case actually. Anyone lower than an admin, shouldn’t even see the menu item, nor he should be able to call the plugin sites directly via URL.

    Have you experienced anything like that?

    https://wordpress.org/plugins/aph-merge-scripts/

    This is quite good merge and minified without break like others and also have a option to select

    Implement all features manually or semi auto without break site would be better

    for combine/merge allow selected based on condition per page script/css but not combine/merge all css/script and load all in every pages/posts

    you may show selected script/css on per page/post to combine
    or
    group of script to combine per conditional rules

    loadcss and async/defer script to all/selected with excluded

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Suggestions’ is closed to new replies.