On Github dwkitchen / dont-varnish
Presented by David Kitchen / @dwkitchen
Nids vs Content - Football scores view
Nids vs Content - Football scores view
$conf['redis_client_interface'] = 'PhpRedis'; $conf['cache_backends'][] = 'sites/all/modules/redis/redis.autoload.inc'; $conf['cache_default_class'] = 'Redis_Cache'; $conf['cache_class_cache_form'] = 'DrupalDatabaseCache'; $conf['lock_inc'] = 'sites/all/modules/redis/redis.lock.inc'; $conf['path_inc'] = 'sites/all/modules/redis/redis.path.inc';
$conf['cache_backends'][] = 'sites/all/modules/authcache/authcache.cache.inc'; $conf['cache_backends'][] = 'sites/all/modules/authcache/modules/authcache_builtin/authcache_builtin.cache.inc'; $conf['authcache_builtin_cache_without_database'] = TRUE; $conf['page_compression'] = 1; $conf['page_cache_maximum_age'] = 600;
Administration » Configuration » System » Authcache » Form and expand the fieldset Remove form tokens.
search_form search_block_form search_api_page_search_form commerce_cart_add_to_cart_form_*
The Authcache Form module provides means to retrieve form tokens using Ajax or ESI and inject them into a page retrieved from the cache. This mechanism allows us to cache even pages with forms for authenticated users. However this is on the expense of having one more HTTP request hitting the server per form unless the fragment already has been cached in the browser.
Doing this increases performance for loading the form but opens the form for DDOS Attack
#1905544 Cache mailsystem_get_classes() between requests
If you have Mailsystem this could be the slowest query on the page.
What could go wrong?
All of this is built in using