This repository has been archived by the owner. It is now read-only.
Permalink
Commits on Jul 28, 2014
  1. Merge pull request #45 from askhogan/patch-1

    pdehaan committed Jul 28, 2014
    missing comma
Commits on Jul 25, 2014
  1. missing comma

    askhogan committed Jul 25, 2014
Commits on May 9, 2014
  1. Merge pull request #43 from mozilla/refactor-simplify-extract

    ozten committed May 9, 2014
    Refactor simplify extract
  2. refactor: More cleanup and simplification.

    shane-tomlinson committed May 9, 2014
    * Rename `opts` to `_opts` to be consistent with other global variables.
    
    Add more helper functions:
    * does_file_match_expected_hash
    * get_uri
    * should_skip_hashification
    * get_predefined_hash
    * url_to_filename
    * get_resource_hash
    * generate_hashed_url
    * should_use_development_resources
    * generate_tags_for_resources
    * rename prod_or_dev_tags to generate_tags_for_filename
  3. refactor: Large refactor of the middleware, mostly extracting functio…

    shane-tomlinson committed May 9, 2014
    …ns and clarifying names.
    
    Extract helper functions:
    * is_cachified_uri
    * remove_prefix
    * get_true_path
    * check_exists
    * get_expected_hash
    * do_contents_match_expected_hash
    * clean_options
    * set_locals
    * set_cache_headers
    * remove_other_cache_headers
  4. Merge pull request #44 from shane-tomlinson/express4

    shane-tomlinson committed May 9, 2014
    Added support for express 4.x
  5. Added support for express 4.x

    shane-tomlinson committed May 9, 2014
    Core code comes from #42. I took his PR and manually merged the relevant parts. Additional tests added to ensure all of the expresses are *really* being tested.
    
    Original commits:
    * 5875180
    * 62a5bd6
    * 5a9b544
    * 8ae7c94
    * 9c219d1
    
    Thank you very much @kmchugh!
Commits on Sep 24, 2013
  1. Merge pull request #36 from infindex/master

    ozten committed Sep 24, 2013
    Fix to handle weird scenarios where the request urls to assets contain query string
Commits on Sep 20, 2013
  1. - Fixed test failures

    infindex committed Sep 20, 2013
    - Handle query parameter in development mode
    - Adding tests to demonstrates the problem when query string parameters
      Are introduced
Commits on Sep 19, 2013
  1. Merge pull request #40 from pdehaan/patch-1

    ozten committed Sep 19, 2013
    Update package.json
  2. Update package.json

    pdehaan committed Sep 19, 2013
    Adding license info
Commits on Jul 26, 2013
Commits on Jul 23, 2013
Commits on Jul 12, 2013
  1. Merge pull request #34 from machuga/patch-1

    ozten committed Jul 12, 2013
    Correct misspelling of "Cachify" in readme
Commits on May 29, 2013
  1. Bump 0.0.15

    ozten committed May 29, 2013
  2. Merge pull request #33 from mozilla/async_defer_script_attributes

    ozten committed May 29, 2013
    Add the ability to add the `defer` or `async` attributes to scripts.
  3. Simplify the defer/async API options.

    shane-tomlinson committed May 29, 2013
    * defer and async are only added to scripts in production mode.
Commits on Apr 26, 2013
  1. v0.0.14

    lloyd committed Apr 26, 2013
Commits on Apr 25, 2013
  1. Merge pull request #32 from mozilla/issue31

    ozten committed Apr 25, 2013
    always check file checksum and ensure that in-url hash matches file cont...
  2. make the file read that happens on every request async, and document …

    lloyd committed Apr 25, 2013
    …the test that verifies mismatched checksums don't result in url re-writing
Commits on Apr 24, 2013
Commits on Feb 8, 2013
  1. Publishing 0.0.13

    ozten committed Feb 8, 2013
  2. Merge pull request #27 from shane-tomlinson/url_to_path

    ozten committed Feb 8, 2013
    Add the ability to specify a url_to_path table.
  3. Beef up the test for url_to_paths.

    shane-tomlinson committed Feb 8, 2013
    * Add a file to the repo, test/test-data/test-file.js which is used as a stable file from which to calculate the md5. This is used to make sure url_to_paths is operating as expected.
Commits on Feb 7, 2013
Commits on Jan 27, 2013
  1. Merge pull request #26 from mozilla/mock_resp

    ozten committed Jan 27, 2013
    Remove duplicate resp code in unit tests by creating a generic "get_resp" funciton.
  2. Add the ability to specify a url_to_path table.

    shane-tomlinson committed Jan 27, 2013
    This allows files to be looked up that may not be in the root path.