You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-15Lines changed: 20 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,11 @@ Also please note that the V7 requires at least PHP7 or higher to work properly.
10
10
Simple Yet Powerful PHP Caching Class
11
11
---------------------------
12
12
More information in [Wiki](https://github.com/PHPSocialNetwork/phpfastcache/wiki)
13
-
One Class uses for All Cache. You don't need to rewrite your code many times again.
13
+
The simplicity of abstraction: One class for many backend cache. You don't need to rewrite your code many times again.
14
14
15
15
### PHP7 Strict types enforced
16
16
As of the V7 PhpFastCache enforces the php7 strict types to make sure that it's completely php7 compatible and is type aware.
17
+
This ensure you that the library is completely reliable when it come to manipulate variable types.
17
18
18
19
### Supported drivers at this day *
19
20
:bulb: Feel free to propose a driver by making a new **[Pull Request](https://github.com/PHPSocialNetwork/phpfastcache/compare)**, they are welcome !
@@ -36,16 +37,18 @@ As of the V7 PhpFastCache enforces the php7 strict types to make sure that it's
36
37
37
38
### Symfony/Drupal developers are not forgotten !
38
39
Starting with v5, phpFastCache comes with a [Symfony Bundle](https://github.com/PHPSocialNetwork/phpfastcache-bundle).
39
-
It's fresh, so feel free to report any bug or contribute to the project using pull requests.
40
+
It is now a mature project Flex -ready, so feel free to give at try and report any bug (if any).
40
41
41
42
Also a [Drupal 8 Module](https://github.com/PHPSocialNetwork/phpfastcache-drupal) is currently in development, add it to your starred projects to get notified of the first public release.
42
43
43
44
---------------------------
44
45
Not a "Traditional" Caching
45
46
---------------------------
46
-
phpFastCache is not like the traditional caching methods which keep reading and writing to files, sqlite or keeping open massive amounts of connections to memcache, redis, mongodb...
47
-
Also, when you use high performances drivers, your miss hits will be drastically reduced.
48
-
Slightly different from the usual caching libraries you will find everywhere on the internet, the phpFastCache library reduces the I/O and CPU load as much as possible.
47
+
phpFastCache is not like the traditional caching methods which keep reading and writing to
48
+
files, sqlite or keeping open massive amounts of connections to memcache, redis, mongodb...\
49
+
Also, when you use high performances drivers, your miss hits will be drastically reduced.\
50
+
Slightly different from the usual caching libraries you will find everywhere on the internet,
51
+
the phpFastCache library reduces the I/O and CPU load as much as possible.
49
52
50
53
```php
51
54
<?php
@@ -61,9 +64,10 @@ CacheManager::Files($config);
61
64
Reduce Database/Webservice Calls
62
65
---------------------------
63
66
64
-
Your website has 10,000 visitors who are online, and your dynamic page has to send 10,000 times the same queries to database or the webservice on every page load.
65
-
With phpFastCache, your page only sends 1 query to your DB/WS, and uses the cache to serve the 9,999 other visitors.
66
-
You can off course decide the TTL that will matches your needs.
67
+
Your website has 10,000 visitors who are online, and your dynamic page has to send 10,000 times the same queries
68
+
to database or the webservice on every page load.\
69
+
With phpFastCache, your page only sends 1 query to your DB/WS, and uses the cache to serve the 9,999 other visitors.\
70
+
You can obviously decide the TTL that will matches your needs.
0 commit comments