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

Add expires option to the location class #746

Closed
wants to merge 2 commits into from

Conversation

piv-pav
Copy link
Contributor

@piv-pav piv-pav commented Jan 21, 2016

I've added "expires" option to the locations class.

We are using that option in our servers configurations, and it helps us to reduce amount of traffic significantly due to different cache expiration time for static content like jpg, css, js etc... So I think it would be nice to have it in public module as well.

@3flex
Copy link
Contributor

3flex commented Jun 23, 2016

@SNOWMEAN sorry for the huge delay. Can you please rebase on master, and squash this down to a single commit for merging?

Adding new tests would also be very useful and speed up the merging process once updated. Thanks!

@3flex 3flex added enhancement New feature or request needs-tests labels Jun 23, 2016
@wyardley
Copy link
Collaborator

Hi --
This still hasn't had a rebase, and has no tests. If there's no activity in a month, we'll close this PR.

@piv-pav
Copy link
Contributor Author

piv-pav commented Oct 12, 2016

You can close it now, I have no time for that now, and I doubt I will have it anytime soon.

@wyardley
Copy link
Collaborator

Ok, thanks. It's pretty simple and seems like it could be useful (even though there are workarounds), so I will take a stab at updating it if I get some time.

@wyardley
Copy link
Collaborator

Replacing this for you in #924 (with test / rebase).

@wyardley wyardley closed this Oct 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants