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 http_cache_time_proxy setting #70

Merged
merged 1 commit into from
Mar 25, 2019
Merged

Conversation

johanjanssens
Copy link
Member

@johanjanssens johanjanssens commented Mar 23, 2019

This PR adds a new http_cache_time_proxy setting to allows defining the s-maxage cache directive. The default cache time is set to 15min and the shared proxy cache time is set to 2h.

See also: joomlatools/joomlatools-framework#266

The new cache_time_shared setting allows to define the s-maxage cache
directive. The default cache time is set to 15min and the shared cache
time is set to 2h.
@johanjanssens johanjanssens added this to the 0.8 milestone Mar 23, 2019
@johanjanssens johanjanssens self-assigned this Mar 23, 2019
@johanjanssens johanjanssens changed the title Add new cache_time_shared setting Add support for s-maxage Mar 23, 2019
@johanjanssens johanjanssens changed the title Add support for s-maxage Add http_cache_time_proxy setting Mar 23, 2019
Copy link
Member

@ercanozkaya ercanozkaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johanjanssens Just a remark: If \ComPagesDispatcherBehaviorCacheable::_beforeDispatch finds a cached file \ComPagesDispatcherBehaviorCacheable::_beforeSend is not called since beforeDispatch calls response::send directly. Is that an issue?

@ercanozkaya
Copy link
Member

@johanjanssens Never mind. Figured it out, this is good to go.

@ercanozkaya ercanozkaya merged commit 5217d99 into master Mar 25, 2019
@ercanozkaya ercanozkaya deleted the feature/69-smaxage branch March 25, 2019 09:47
@johanjanssens johanjanssens mentioned this pull request Mar 26, 2019
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.

None yet

2 participants