> Dpwpsimplecache wordpress plugin resources analysis

dpwpsimplecache wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name dpwpsimplecache
Version 0.4
Author Danilo Paissan
Rating 0
Last updated 2012-01-02 07:41:00
Downloads
291
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
dpwpsimplecache plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

dpwpsimplecache plugin added 182 bytes of resources to the Home page and 166 bytes of resources to the sample Post page.

dpwpsimplecache plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

dpwpsimplecache plugins ads the following DB table(s) to your Wordpress blog database:
Table name Table size (in bytes)
wp_sessions 16384

D(ifferent)P(lace) Simple Cache is a WordPress plugin to implement a simple cache of objects at session level.

dpwpsimplecache provides a global variable $dpcache, which is an instantiation of the class DP_Cache already set up to talk to the $_SESSION. Always use the global $dpcache variable (Remember to globalize $dpcache before using it in any custom functions).

If you don't want to track sessions into db set the $USE_DB_SESSION_MANAGER global variable to 0

`global $USE_DB_SESSION_MANAGER;`
`$USE_DB_SESSION_MANAGER = 0; // default 1`

Insert object;

`$dpcache->set($key,$object);`

Get object:

`$object = $dpcache->set($key);`

Count active users:

`$count_users = $dpcache->get_sessions_number();`

Count objects in the current user's $_SESSION:

`$dpcache->get_statistics();`

Get all objects in the current user's $_SESSION:

`$dpcache->get_all_values();`

Test if an object exist in the current user's $_SESSION:

`$dpcache->contais($key);`

Delete all objects. If the $all parameter is set to false the method delete only the current user's $_SESSION, if true truncate the entire table (default false):

`$dpcache->flush();`

Prints human-readable information about all objects:

`$dpcache->inspect();`

Delete an object in the current user's $_SESSION:

`$dpcache->delete($key);`

Delete single session by ID:

`$dpcache->invalidate_single_session($sessid);`

Prints the number of active sessions:

`<?php echo dpscache_active_users(); ?>`

At any time, through the administrative page, you can:

  • see all objects in the current user cache
  • delete all objects in the current user cache
  • force the deletion of all sessions
  • force the deletion of a single session

You can find the latest release on GitHub

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
orange coffee screenshot

orange coffee

by: GBosch

19856
0%
CodePeople-Light screenshot

CodePeople-Light

by: codepeople

4544
0%