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

Improve docs #32

Merged
merged 3 commits into from
Mar 4, 2014
Merged

Improve docs #32

merged 3 commits into from
Mar 4, 2014

Conversation

ddeboer
Copy link
Member

@ddeboer ddeboer commented Feb 24, 2014

No description provided.

* [Tags](#tags)
* [Changing the Tags Header](#changing-the-tags-header)
Copy link
Contributor

Choose a reason for hiding this comment

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

Changing the Tags Header => Custom Tags Header

@dbu
Copy link
Contributor

dbu commented Feb 25, 2014

looks good, making a good doc even better! i think we soon are really fine on this.

added a few comments, but feel free to ignore them. this branch needs a rebase, however.

@dbu
Copy link
Contributor

dbu commented Feb 28, 2014

can we wrap this one up too?

@ddeboer
Copy link
Member Author

ddeboer commented Feb 28, 2014

Wait for it... still working on this one. 😉

@ddeboer
Copy link
Member Author

ddeboer commented Mar 2, 2014

Okay, this should do it. Have a look and let me know what you think.


Use the CacheInvalidator to explicitly invalidate or refresh paths, URLs or
headers.
It is the [cache invalidator](cache-invalidator.md) that you will probably use
Copy link
Contributor

Choose a reason for hiding this comment

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

why link to self? and i think i would re-order the 2 sentences to first say what it does, then that you use this most. or maybe say "It is the main class to interact with this library."

Copy link
Member Author

Choose a reason for hiding this comment

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

Whoops, copy/paste trouble. ;)

@dbu
Copy link
Contributor

dbu commented Mar 3, 2014

wow, a lot of doc. i will go through it all with more time tonight.

@ddeboer
Copy link
Member Author

ddeboer commented Mar 3, 2014

Sure, no problem. Let’s wait with the transfer to FOS for this PR to be merged. But it should really be the last thing before we release this. ;)

--------

This library mainly consists of:
* low-level clients for communicating with caching proxies
Copy link
Contributor

Choose a reason for hiding this comment

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

can we say (varnish, nginx) here? just to not confuse people with our generic terminology :-)

```php
use FOS\HttpCache\Invalidation\Varnish;

$servers = array('10.0.0.1:6081', '10.0.0.2:6081');
Copy link
Contributor

Choose a reason for hiding this comment

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

without port, the connection would be attempted at port 80, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep. I’ll add it to the docs.

@dbu
Copy link
Contributor

dbu commented Mar 3, 2014

okay, went through now. very cool!

@ddeboer
Copy link
Member Author

ddeboer commented Mar 3, 2014

Thanks for your detailed comments. I’ll update this PR tonight, so we can merge it and move the repo to FOS.

@ddeboer
Copy link
Member Author

ddeboer commented Mar 3, 2014

Some good criticism there! Fixed stuff and squashed commits.

Remove whitelines
Add HHVM compatibility as feature

Update TOC

Split Varnish into client and config

Improve docs on proxy client

Clean up Installation chapter

Add flush() to examples so users won't forget to call it

Add proxy config chapter

Finish general introduction

Fix links to introduction

Fix missing ;

Fix grammar

Fix code block

Update cache-invalidator.md

Remove link to self

Fix link to Alternatives

Fix host regex

Add missing Composer install step

Add note on Varnish port

Improve overview

Improve introduction
@ddeboer
Copy link
Member Author

ddeboer commented Mar 4, 2014

Removed the duplicate invalidation examples in the Varnish Clients chapter. This can be merged.

dbu added a commit that referenced this pull request Mar 4, 2014
@dbu dbu merged commit 68dd4c2 into master Mar 4, 2014
@dbu dbu deleted the docs branch March 4, 2014 13:18
@dbu
Copy link
Contributor

dbu commented Mar 4, 2014

cool, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants