Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Anahkiasen committed Aug 25, 2013
1 parent ebe38b3 commit 39c8037
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Here is a preview of the configuration options available in said file :

The pages are cached according to two parameters : their path and their method. Only GET requests get cached as all the other methods are dynamic by nature.
All of the calls you'll make, will be to the `Flatten\Facades\Flatten` facade.
Query strings are taken into account in the cache and pages will different query strings will have different caches.

### Building

Expand Down Expand Up @@ -144,8 +145,8 @@ If you have things in your saltshaker, you'll need to find faster raw methods to
```php
require __DIR__.'/../vendor/anahkiasen/flatten/src/Flatten/Flatten.php';

$query = isset($_GET['q']) ? $_GET['q'] : null;
Flatten\Flatten::kickstart($query);
$salt = mysql_query('SOMETHING');
Flatten\Flatten::kickstart($salt);
```

## Using outside of Laravel
Expand Down

0 comments on commit 39c8037

Please sign in to comment.