Skip to content
Permalink
Browse files
BOA: Fix for node add/edit and comment/reply possible caching issues …
…when speed booster is enabled (Albert)
  • Loading branch information
omega8cc committed Mar 23, 2011
1 parent 7e1c016 commit e053ae2aefdc77e1c7eaac9b342cd12a796c3135
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
@@ -102,7 +102,7 @@ if (isset($_SERVER['HTTP_HOST'])) {
}

if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) || preg_match("/(?:hostmaster|uberdrupal|commerce)/", $conf['install_profile']) ||
preg_match("/^\/(?:user|admin|logout)/", $_SERVER['REQUEST_URI']) || file_exists('sites/all/modules/ubercart/README.txt') ||
preg_match("/^\/(?:user|admin|logout|node\/edit|node\/add|comment\/reply)/", $_SERVER['REQUEST_URI']) || file_exists('sites/all/modules/ubercart/README.txt') ||
preg_match("/dev/", $_SERVER['HTTP_HOST'])) {
header('X-Accel-Expires: 0');
if (isset($_COOKIE[$test_sess_name]) && !isset($_COOKIE[OctopusNoCacheID])) {
@@ -107,7 +107,7 @@ if (isset($_SERVER['HTTP_HOST'])) {
}

if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) || preg_match("/(?:hostmaster|uberdrupal|commerce)/", $conf['install_profile']) ||
preg_match("/^\/(?:user|admin|logout)/", $_SERVER['REQUEST_URI']) || file_exists('sites/all/modules/ubercart/README.txt') ||
preg_match("/^\/(?:user|admin|logout|node\/edit|node\/add|comment\/reply)/", $_SERVER['REQUEST_URI']) || file_exists('sites/all/modules/ubercart/README.txt') ||
preg_match("/dev/", $_SERVER['HTTP_HOST'])) {
header('X-Accel-Expires: 0');
if (isset($_COOKIE[$test_sess_name]) && !isset($_COOKIE[OctopusNoCacheID])) {
@@ -59,7 +59,7 @@ default_storage_engine = InnoDB
sql_mode = NO_ENGINE_SUBSTITUTION
# you can't just change log file size, requires special procedure
#innodb_log_file_size = 50M
innodb_buffer_pool_size = 128M
innodb_buffer_pool_size = 256M
innodb_log_buffer_size = 4M
innodb_file_per_table = 1
innodb_open_files = 256
@@ -8,11 +8,13 @@ Your Aegir control panel [version 1.0-boa-T-2] is available at:
https://aegir.dragon.ny.host8.biz

Note:

Your Aegir control panel is using self-signed SSL certificate,
so you browser can display warning. Please add this certificate
so your browser can display warning. Please add this certificate
as accepted in your system settings to avoid displaying it
each time you are trying to log in.


The following topics are covered within this email:

1. Logging into your Aegir control panel

0 comments on commit e053ae2

Please sign in to comment.