WordPress.org

Ready to get started?Download WordPress

Ideas

Combine CSS from theme and plugins

  1. tedsz
    Member

    Add a function to WordPress, to be used in themes and plug-ins to output a single CSS file. This will eliminate multiple requests for each page. Perhaps also create a minified cached version of CSS - simple removal of white space and line breaks greatly improve the load time.

    Posted: 5 years ago #
  2. Jen Mylo
    Key Master

    Per the core team:
    "The js and css concatenating for the front end can be done if the themes and the plugins use standard way of loading it, like script-loader. Some plugins do but very few themes use it.. There's another way with buffers and parsing the output to get the files to concat, but too ineffective and hacky..

    btw that question has been answered several times on the hackers list.."

    Given this response, I'm going to close this ticket.

    Posted: 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    0 Votes
  • Status

    This idea is under consideration