Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added glob matching feature for setting cache headers. #183

Open

Conversation

@lightswitch05
Copy link

lightswitch05 commented Sep 27, 2016

  • Keep backwards compatibility with previous cache options
  • Add tests to ensure glob matching with defined cache values
  • Updated README with instructions for new cache feature

Example Usage:

fileServer  = new static.Server('/public', {
    cache: {
        '**/*.txt': 100,
        '**/': 300
    }
});
@lightswitch05 lightswitch05 force-pushed the lightswitch05:feature/allow-greater-cache-control branch from 277f632 to b341fc0 Sep 27, 2016
* Keep backwards compatibility with previous cache options
* Add tests to ensure glob matching with defined cache values
* Updated README with instructions for new cache feature
@lightswitch05 lightswitch05 force-pushed the lightswitch05:feature/allow-greater-cache-control branch from b341fc0 to 6ccc79a Sep 27, 2016
@lightswitch05

This comment has been minimized.

Copy link
Author

lightswitch05 commented Sep 29, 2016

Any comments or thoughts on this pull request?

@v29neil

This comment has been minimized.

Copy link

v29neil commented Nov 15, 2016

any progress on this feature ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.