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
+5-25Lines changed: 5 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,33 +44,13 @@ The Phpfastcache **V8** is compatible as of the v4 of the phpfastcache bundle.
44
44
Also a [Drupal 8 Module](https://github.com/PHPSocialNetwork/phpfastcache-drupal) is currently in (a slow) development, add it to your starred projects to get notified of the first public release.
45
45
46
46
---------------------------
47
-
Not a "Traditional" Caching
47
+
Because caching does not means weaken your code
48
48
---------------------------
49
-
Phpfastcache is not like the traditional caching methods which keep reading and writing to
50
-
files, sqlite or keeping open massive amounts of connections to memcache, redis, mongodb...\
51
-
Also, when you use high performances drivers, your miss hits will be drastically reduced.\
52
-
Slightly different from the usual caching libraries you will find everywhere on the internet,
53
-
the Phpfastcache library reduces the I/O and CPU load as much as possible.
54
-
55
-
```php
56
-
<?php
57
-
use Phpfastcache\CacheManager;
58
-
59
-
CacheManager::getInstance('files', $config);
60
-
// An alternative exists:
61
-
CacheManager::Files($config);
62
-
63
-
```
64
-
65
-
---------------------------
66
-
Reduce Database/Webservice Calls
67
-
---------------------------
68
-
69
-
Your website has 10,000 visitors who are online, and your dynamic page has to send 10,000 times the same queries
70
-
to database or the webservice on every page load.\
71
-
With phpFastCache, your page only sends 1 query to your DB/WS, and uses the cache to serve the 9,999 other visitors.\
72
-
You can obviously decide the TTL that will matches your needs.
49
+
Phpfastcache has been developed over the years with 3 main goals:
73
50
51
+
- Performance: We optimized and still optimize the code to provide you the lightest library as possible
52
+
- Security: Because caching strategies can sometimes comes with unwanted vulnerabilities, we do our best to provide you a sage & strong library as possible
53
+
- Portability: No matter what operating system you're working on, we did our best to provide you the most cross-platform code as possible
0 commit comments