GithubHelp home page GithubHelp logo

minit's Introduction

Minit

Contributors: kasparsd
Tags: css, js, combine, minify, concatenate, optimization, performance, speed
Requires at least: 3.1
Tested up to: 3.9
Stable tag: trunk
License: GPLv2 or later

Combine CSS files and Javascript files into single file in the correct order. Use the latest modified time in filename generation to ensure freshness. Load all external Javascript files asynchronosly.

Description

TODO

Screenshots

  1. All CSS files combined in a single file
  2. All external Javascript files loading asynchronosly

Changelog

0.9

  • Refactor into a class.
  • Deal with plugins calling wp_print_scripts() directly. Looking at you, Akismet.

0.8.7

  • Use a global version number instead of deleting files for cache purge.
  • Add filters minit-exclude-css and minit-exclude-css to exclude files from Minit.
  • Add action minit-cache-purge-delete that deletes all Minit files. Can be called from cron, for example.
  • Call action minit-cache-purged when the global cache version number is bumped.

0.8.4

  • Include is_ssl() in cache key

0.8.2

  • Don't use set_url_scheme() because it assumes SSL by default

0.8.1

  • Use set_url_scheme() instead of an is_ssl() check

0.8

  • Add SSL support

0.6.8

  • Add a filter to allow other plugins interact with combined file content.

0.6.7

  • Add "Clear cache" link in the plugin list.

0.6.6

  • Store cache file path in transient so that we can verify it exists before using it.

0.6.5

  • Make sure that cache file exists before using it.

0.6.4

  • Set cache lifetime to 24h and use file versions as cache key.

0.6.3

  • Mark merged items as done.
  • Use cache key for script handle key instead of minit-css and minit-js.

0.6.2

  • Add a caching layer.

0.6.1

  • Print related inline scripts, if any.
  • Add remaining scripts to the print queue.

0.6

  • Almost a complete rewrite to merge the functionality of minit logic.
  • Fixes CSS URL path for scripts that use relative URLs.

0.5.1

  • Check if the WP_Scripts object exists before doing anything.

0.5

  • Fix JS file dependency resolving.

0.4

  • Initial public release.

minit's People

Contributors

kasparsd avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.