TaigaChat Pro - Realtime chat/shoutbox [Deleted]

1. Yes. Using nginx will help
2. Yes, I've witnessed it handle several messages a second and hundreds of active users
3. Yes there are special considerations for mobile in the code as well as full responsive support
4. In the far future
5. No

@Luke Foreman
In regards to chatrooms you responded: "In the far future." It seems this has been suggested multiple times by many users including myself. Is there any way we can entice the possible creation of this through applicable "donations" or development funding? I am not asking for a private modification as I think this is something everyone should have. This shoutbox is far superior in regards to resource usage & style compared to that of other forum software. The only thing that is lacking is the ability to have more than one room that other shoutboxes amongst other forum software does in fact have.

Although this shoutbox can handle a lot of active users, when I have 50-100 users in the shoutbox with "thread notifications" flying around, it's 100% chaos. 10 conversations happening at once & links flying. The ability to maybe create 2-3 rooms to split the users up if they so choose to change "rooms" would be a godsend for those larger forums.

As it stands, this is a great tool for those with 10-15 active users or for a slow moving "wall" of posts. As it stands, we use it as a fully functional chat channel that we have basically outgrown. The problem is, you have the cards in your hand because well let's face it... What are my other options? Comet chat? Ha! Please reconsider the timeliness of this request. I will speak for my own site when I say "we really need this feature". I would gladly pay for another [paid] or [enhanced] version if that too was an option.
 
For the /me command you just type in /me and type your text next to it like this.

The /username feature doesn't exist, but I think it has been requested.
oh.. Ok thank you.. How about profile linking?
- Profile Linking
Links to a user's profile. This is generally inserted automatically when tagging a user.
 
i don't know what but i have had complaints from some users from my site that the shoutbox doesn't load properly or update.. it works fine in firefox, doesn't work in safari, IE and chrome i believe, this all started happening after Xenforo upgrade 1.2.4

In this first image on the left is my firefox, on the right is my safari

5Y0PA.png


and safari only updates if i type in a text message in

in this next tome this is how it shows up when nothing is typed in and page is loaded normaly/refreshed on safari:
5Y0Qb.png


some times it does work but it very glitchy.. but works fine on firefox

console errors:

5Y0Zr.png

5Y0ZP.png

5Y10h.png


Code:
[Error] SyntaxError: Unexpected token ';' (forums, line 11532)
[Error] SyntaxError: Unexpected token ';' (forums, line 11552)
[Error] TypeError: 'undefined' is not an object (evaluating 'cachedMirageImage[0].image_')
   proxyMirageImage (undefined, line 142)
   (anonymous function)
   (anonymous function) (cloudflare.min.js, line 3)
   (anonymous function) (cloudflare.min.js, line 3)
   (anonymous function)
   x (cloudflare.min.js, line 3)
   (anonymous function)
   (anonymous function)
   (anonymous function) (jquery.min.js, line 4)
   kt (jquery.min.js, line 4)
   at (jquery.min.js, line 4)
   find (jquery.min.js, line 5)
   init (jquery.min.js, line 4)
   init (xenforo.js,q_v=5ce02b23.pagespeed.jm.z8ePFhLBc6.js, line 1)
   x (jquery.min.js, line 4)
   handleListResponse
   (anonymous function)
   f (xenforo.js,q_v=5ce02b23.pagespeed.jm.z8ePFhLBc6.js, line 1)
   c (jquery.min.js, line 4)
   fireWith (jquery.min.js, line 4)
   k (jquery.min.js, line 6)
   r (jquery.min.js, line 6)
[Error] TypeError: 'undefined' is not an object (evaluating 'cachedMirageImage[0].image_')
   proxyMirageImage (undefined, line 142)
   (anonymous function)
   (anonymous function) (cloudflare.min.js, line 3)
   (anonymous function) (cloudflare.min.js, line 3)
   (anonymous function)
   x (cloudflare.min.js, line 3)
   (anonymous function)
   (anonymous function)
   l (forums, line 11556)
   (anonymous function) (forums, line 11556)
[Error] TypeError: 'undefined' is not an object (evaluating '$balloon.data('text').replace')
   (anonymous function) (undefined, line 16)
   complete (jquery.min.js, line 6)
   c (jquery.min.js, line 4)
   fireWith (jquery.min.js, line 4)
   l (jquery.min.js, line 6)
   tick (jquery.min.js, line 6)
[Error] SyntaxError: Unexpected token ';' (forums, line 11547)
[Error] SyntaxError: Unexpected token ';' (forums, line 11567)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (navPoly.png, line 0)
[Error] TypeError: 'undefined' is not an object (evaluating '$balloon.data('text').replace')
   (anonymous function) (undefined, line 16)
   complete (jquery.min.js, line 6)
   c (jquery.min.js, line 4)
   fireWith (jquery.min.js, line 4)
   l (jquery.min.js, line 6)
   tick (jquery.min.js, line 6)
[Error] SyntaxError: Unexpected token ';' (forums, line 11525)
[Error] SyntaxError: Unexpected token ';' (forums, line 11545)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (navPoly.png, line 0)

Code:
[Warning] The "fb-root" div has not been created, auto-creating (all.js, line 56)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x6)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1, x2)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x3)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1)
[Warning] Invalid CSS property declaration at: * (css.php, line 1)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1, x2)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x3)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x4)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1, x2)
[Warning] Unexpected CSS token: ; (css.php, line 1, x2)
[Warning] Unexpected CSS token: } (css.php, line 1)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1)
[Warning] Invalid CSS property declaration at: * (css.php, line 1)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1, x2)
[Warning] Unexpected CSS token: ; (css.php, line 1)
[Warning] Unexpected CSS token: } (css.php, line 1)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x2)
[Warning] Invalid CSS property declaration at: 0 (css.php, line 1)
[Warning] Unexpected CSS token: } (css.php, line 1)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1)
[Warning] The "fb-root" div has not been created, auto-creating (all.js, line 56)
[Warning] Invalid CSS property declaration at: * (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1, x17)
[Warning] Unexpected CSS token: ; (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1, x2)
[Warning] Unexpected CSS token: } (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Invalid CSS property declaration at: * (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Unexpected CSS token: ; (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Unexpected CSS token: } (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Invalid CSS property declaration at: * (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1, x2)
[Warning] Invalid CSS property declaration at: 0 (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Unexpected CSS token: } (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] The "fb-root" div has not been created, auto-creating (all.js, line 56)

5Yhp9.png


please fix this soon as you can see mems complain en...

Serious
5Yk8O.png
Problem:
 
Last edited:
well this is related to this chat: http://xenforo.com/community/resources/taigachat-pro-alert-sound-notification.2365/

i do like having it but i would like to have like mute button for this... this other add on is useful but it a simple template mod.. i want to have a mute button for in the bb codes tool bar if possible...

i know like yea mute ur system sound but some people hang on my site watch videos play games and chat and dont want this sound, others may want it..
 
Hey guys, just purchased this addon.

Found an issue that I'm hoping someone has an answer to. The color picker does not seem to work in the popup window but it works fine in the full view chat window.

So when I click on the color picker, the picker modal popups up and it seems to work. But when I click on a color and click "apply", I get this error:


When I look in the javascript console, it looks to be loaded a normal PHP/HTML file within the xenforo.js?
I have this same error. Is there a solution for this?
 
I have this same error. Is there a solution for this?
This is a confirmed bug. Here's a fix Luke provided until the next release:
Cheers, I've found the bug and it'll be fixed in the next update

If you want to apply the fix in the meantime, in template dark_taigachat_color_picker, find the opening <form> tag and replace with:

Code:
<form onsubmit="return false" action="{xen:link 'taigachat/save-color.json'}" method="post" class="section AutoValidator">
 
i don't know what but i have had complaints from some users from my site that the shoutbox doesn't load properly or update.. it works fine in firefox, doesn't work in safari, IE and chrome i believe, this all started happening after Xenforo upgrade 1.2.4

In this first image on the left is my firefox, on the right is my safari

5Y0PA.png


and safari only updates if i type in a text message in

in this next tome this is how it shows up when nothing is typed in and page is loaded normaly/refreshed on safari:
5Y0Qb.png


some times it does work but it very glitchy.. but works fine on firefox

console errors:

5Y0Zr.png

5Y0ZP.png

5Y10h.png


Code:
[Error] SyntaxError: Unexpected token ';' (forums, line 11532)
[Error] SyntaxError: Unexpected token ';' (forums, line 11552)
[Error] TypeError: 'undefined' is not an object (evaluating 'cachedMirageImage[0].image_')
   proxyMirageImage (undefined, line 142)
   (anonymous function)
   (anonymous function) (cloudflare.min.js, line 3)
   (anonymous function) (cloudflare.min.js, line 3)
   (anonymous function)
   x (cloudflare.min.js, line 3)
   (anonymous function)
   (anonymous function)
   (anonymous function) (jquery.min.js, line 4)
   kt (jquery.min.js, line 4)
   at (jquery.min.js, line 4)
   find (jquery.min.js, line 5)
   init (jquery.min.js, line 4)
   init (xenforo.js,q_v=5ce02b23.pagespeed.jm.z8ePFhLBc6.js, line 1)
   x (jquery.min.js, line 4)
   handleListResponse
   (anonymous function)
   f (xenforo.js,q_v=5ce02b23.pagespeed.jm.z8ePFhLBc6.js, line 1)
   c (jquery.min.js, line 4)
   fireWith (jquery.min.js, line 4)
   k (jquery.min.js, line 6)
   r (jquery.min.js, line 6)
[Error] TypeError: 'undefined' is not an object (evaluating 'cachedMirageImage[0].image_')
   proxyMirageImage (undefined, line 142)
   (anonymous function)
   (anonymous function) (cloudflare.min.js, line 3)
   (anonymous function) (cloudflare.min.js, line 3)
   (anonymous function)
   x (cloudflare.min.js, line 3)
   (anonymous function)
   (anonymous function)
   l (forums, line 11556)
   (anonymous function) (forums, line 11556)
[Error] TypeError: 'undefined' is not an object (evaluating '$balloon.data('text').replace')
   (anonymous function) (undefined, line 16)
   complete (jquery.min.js, line 6)
   c (jquery.min.js, line 4)
   fireWith (jquery.min.js, line 4)
   l (jquery.min.js, line 6)
   tick (jquery.min.js, line 6)
[Error] SyntaxError: Unexpected token ';' (forums, line 11547)
[Error] SyntaxError: Unexpected token ';' (forums, line 11567)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (navPoly.png, line 0)
[Error] TypeError: 'undefined' is not an object (evaluating '$balloon.data('text').replace')
   (anonymous function) (undefined, line 16)
   complete (jquery.min.js, line 6)
   c (jquery.min.js, line 4)
   fireWith (jquery.min.js, line 4)
   l (jquery.min.js, line 6)
   tick (jquery.min.js, line 6)
[Error] SyntaxError: Unexpected token ';' (forums, line 11525)
[Error] SyntaxError: Unexpected token ';' (forums, line 11545)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (navPoly.png, line 0)

Code:
[Warning] The "fb-root" div has not been created, auto-creating (all.js, line 56)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x6)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1, x2)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x3)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1)
[Warning] Invalid CSS property declaration at: * (css.php, line 1)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1, x2)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x3)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x4)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1, x2)
[Warning] Unexpected CSS token: ; (css.php, line 1, x2)
[Warning] Unexpected CSS token: } (css.php, line 1)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1)
[Warning] Invalid CSS property declaration at: * (css.php, line 1)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1, x2)
[Warning] Unexpected CSS token: ; (css.php, line 1)
[Warning] Unexpected CSS token: } (css.php, line 1)
[Warning] Invalid CSS property declaration at: * (css.php, line 1, x2)
[Warning] Invalid CSS property declaration at: 0 (css.php, line 1)
[Warning] Unexpected CSS token: } (css.php, line 1)
[Warning] Invalid CSS property declaration at: ; (css.php, line 1)
[Warning] The "fb-root" div has not been created, auto-creating (all.js, line 56)
[Warning] Invalid CSS property declaration at: * (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1, x17)
[Warning] Unexpected CSS token: ; (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1, x2)
[Warning] Unexpected CSS token: } (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Invalid CSS property declaration at: * (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Unexpected CSS token: ; (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Unexpected CSS token: } (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Invalid CSS property declaration at: * (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1, x2)
[Warning] Invalid CSS property declaration at: 0 (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] Unexpected CSS token: } (A.css.php,qcss=xenforo,,form,,public,astyle=46,adir=LTR,ad=1387963968.pagespeed.cf.-S0PuRKeLB.css, line 1)
[Warning] The "fb-root" div has not been created, auto-creating (all.js, line 56)

5Yhp9.png


please fix this soon as you can see mems complain en...

Serious
5Yk8O.png
Problem:


Those errors don't appear to be related to TaigaChat - any Javascript errors from other addons etc. can break TaigaChat however.

First try disabling mod_pagespeed/ngx_pagespeed - in my experience it is not compatible with XenForo and you will get issues like this after it's been enabled for more than a few hours.

If that fails, try disabling other addons and removing any Javascript you've added to templates.

Actually this code didn't fix my problem :(

Try disabling the open_file_cache globally to ensure it's not something else. Also check any other cache-related rules, and ensure there are no proxies such as cloudflare or varnish that could be affecting it.
 
  • Like
Reactions: rdn
Is there a good way to programmatically turn the chat on and off according to a set schedule?

The way I plan to use the chatroom is to use it for specific events and not leave it open 24x7. I'm doing it manually right now by basically removing the post shout permission from the registered user group then leaving a message in the chatroom to let them know when the next event will be.
 
well when i turn off mod pagespeed my site loads way slower..... but even with it on safari now loads for me.. for some it doesn't load not sure why...

and i also get these errors relating to mysql related to this add on:

Code:
XenForo_Exception: Cannot insert a message in the middle of a discussion. - library/XenForo/DataWriter/DiscussionMessage.php:446
Generated By: ImSooCool, Today at 2:17 PM
Stack Trace

#0 /home/unkn0wn/public_html/forums/library/XenForo/DataWriter/DiscussionMessage.php(353): XenForo_DataWriter_DiscussionMessage->_setPosition()
#1 /home/unkn0wn/public_html/forums/library/XenForo/DataWriter.php(1434): XenForo_DataWriter_DiscussionMessage->_preSave()
#2 /home/unkn0wn/public_html/forums/library/XenForo/DataWriter.php(1373): XenForo_DataWriter->preSave()
#3 /home/unkn0wn/public_html/forums/library/Dark/TaigaChat/DataWriter/DiscussionMessage/Post.php(7): XenForo_DataWriter->save()
#4 /home/unkn0wn/public_html/forums/library/MetaMirror/DataWriter/DiscussionMessage/Post.php(24): Dark_TaigaChat_DataWriter_DiscussionMessage_Post->save()
#5 /home/unkn0wn/public_html/forums/library/Dark/TaigaChat/CronEntry/CleanUp.php(67): MetaMirror_DataWriter_DiscussionMessage_Post->save()
#6 /home/unkn0wn/public_html/forums/library/Dark/TaigaChat/Model/TaigaChat.php(320): Dark_TaigaChat_CronEntry_CleanUp::runDailyCleanUp()
#7 /home/unkn0wn/public_html/forums/library/Dark/TaigaChat/ControllerPublic/TaigaChat.php(166): Dark_TaigaChat_Model_TaigaChat->pruneShoutbox()
#8 /home/unkn0wn/public_html/forums/library/XenForo/FrontController.php(347): Dark_TaigaChat_ControllerPublic_TaigaChat->actionPost()
#9 /home/unkn0wn/public_html/forums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/unkn0wn/public_html/forums/index.php(13): XenForo_FrontController->run()
#11 {main}

Request State

array(3) {
  ["url"] => string(51) "http://portalcentric.net/forums/taigachat/post.json"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(8) {
    ["message"] => string(6) "/prune"
    ["sidebar"] => string(1) "1"
    ["lastrefresh"] => string(6) "226563"
    ["color"] => string(6) "5ADA51"
    ["_xfRequestUri"] => string(8) "/forums/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Delete... Close
 
i really want to keep the page speed mod maybe something in the pagespeed.conf can be edited?

Part 1:
Code:
# Attempt to load mod_version if it wasn't loaded or compiled in (eg on Debian)
<IfModule !mod_version.c>
  LoadModule version_module /usr/local/apache/modules/mod_version.so
</IfModule>

<IfVersion < 2.4>
  LoadModule pagespeed_module /usr/local/apache/modules/mod_pagespeed.so
</IfVersion>
<IfVersion >= 2.4.2>
  LoadModule pagespeed_module /usr/local/apache/modules/mod_pagespeed_ap24.so
</IfVersion>

# Only attempt to load mod_deflate if it hasn't been loaded already.
<IfModule !mod_deflate.c>
# LoadModule deflate_module /usr/local/apache/modules/mod_deflate.so
</IfModule>
<IfModule pagespeed_module>
  # Turn on mod_pagespeed. To completely disable mod_pagespeed, you
  # can set this to "off".
  ModPagespeed on

  # We want VHosts to inherit global configuration.
  # If this is not included, they'll be independent (except for inherently
  # global options), at least for backwards compatibility.
  ModPagespeedInheritVHostConfig on

  # Direct Apache to send all HTML output to the mod_pagespeed
  # output handler.
  AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html

  # If you want mod_pagespeed process XHTML as well, please uncomment this
  # line.
  # AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER application/xhtml+xml

  # The ModPagespeedFileCachePath directory must exist and be writable
  # by the apache user (as specified by the User directive).
  ModPagespeedFileCachePath  "/var/cache/mod_pagespeed/"

  # LogDir is needed to store various logs, including the statistics log
  # required for the console.
  ModPagespeedLogDir "/var/log/pagespeed"

  # The locations of SSL Certificates is distribution-dependent.
  ModPagespeedSslCertDirectory "/etc/pki/tls/certs"
   

  # If you want, you can use one or more memcached servers as the store for
  # the mod_pagespeed cache.
  # ModPagespeedMemcachedServers localhost:11211

  # A portion of the cache can be kept in memory only, to reduce load on disk
  # (or memcached) from many small files.
  # ModPagespeedCreateSharedMemoryMetadataCache "/var/cache/mod_pagespeed/" 51200

  # Override the mod_pagespeed 'rewrite level'. The default level
  # "CoreFilters" uses a set of rewrite filters that are generally
  # safe for most web pages. Most sites should not need to change
  # this value and can instead fine-tune the configuration using the
  # ModPagespeedDisableFilters and ModPagespeedEnableFilters
  # directives, below. Valid values for ModPagespeedRewriteLevel are
  # PassThrough, CoreFilters and TestingCoreFilters.
  #
  # ModPagespeedRewriteLevel PassThrough

  # Explicitly disables specific filters. This is useful in
  # conjuction with ModPagespeedRewriteLevel. For instance, if one
  # of the filters in the CoreFilters needs to be disabled for a
  # site, that filter can be added to
  # ModPagespeedDisableFilters. This directive contains a
  # comma-separated list of filter names, and can be repeated.
  #
  # ModPagespeedDisableFilters rewrite_images

  # Explicitly enables specific filters. This is useful in
  # conjuction with ModPagespeedRewriteLevel. For instance, filters
  # not included in the CoreFilters may be enabled using this
  # directive. This directive contains a comma-separated list of
  # filter names, and can be repeated.
  #
  # ModPagespeedEnableFilters rewrite_javascript,rewrite_css
  # ModPagespeedEnableFilters collapse_whitespace,elide_attributes

  # Explicitly forbids the enabling of specific filters using either query
  # parameters or request headers. This is useful, for example, when we do
  # not want the filter to run for performance or security reasons. This
  # directive contains a comma-separated list of filter names, and can be
  # repeated.
  #
  # ModPagespeedForbidFilters rewrite_images

  # How long mod_pagespeed will wait to return an optimized resource
  # (per flush window) on first request before giving up and returning the
  # original (unoptimized) resource. After this deadline is exceeded the
  # original resource is returned and the optimization is pushed to the
  # background to be completed for future requests. Increasing this value will
  # increase page latency, but might reduce load time (for instance on a
  # bandwidth-constrained link where it's worth waiting for image
  # compression to complete). If the value is less than or equal to zero
  # mod_pagespeed will wait indefinitely for the rewrite to complete before
  # returning.
  #
  # ModPagespeedRewriteDeadlinePerFlushMs 10

  # ModPagespeedDomain
  # authorizes rewriting of JS, CSS, and Image files found in this
  # domain. By default only resources with the same origin as the
  # HTML file are rewritten. For example:
  #
  #  ModPagespeedDomain cdn.myhost.com
  #
  # This will allow resources found on http://cdn.myhost.com to be
  # rewritten in addition to those in the same domain as the HTML.
  #
  # Other domain-related directives (like ModPagespeedMapRewriteDomain
  # and ModPagespeedMapOriginDomain) can also authorize domains.
  #
  # Wildcards (* and ?) are allowed in the domain specification. Be
  # careful when using them as if you rewrite domains that do not
  # send you traffic, then the site receiving the traffic will not
  # know how to serve the rewritten content.

  # Other defaults (cache sizes and thresholds):
  #
  # ModPagespeedFileCacheSizeKb  102400
  # ModPagespeedFileCacheCleanIntervalMs 3600000
  # ModPagespeedLRUCacheKbPerProcess  1024
  # ModPagespeedLRUCacheByteLimit  16384
  # ModPagespeedCssFlattenMaxBytes  2048
  # ModPagespeedCssInlineMaxBytes  2048
  # ModPagespeedCssImageInlineMaxBytes  0
  # ModPagespeedImageInlineMaxBytes  3072
  # ModPagespeedJsInlineMaxBytes  2048
  # ModPagespeedCssOutlineMinBytes  3000
  # ModPagespeedJsOutlineMinBytes  3000
  # ModPagespeedMaxCombinedCssBytes  -1
  # ModPagespeedMaxCombinedJsBytes  92160

  # Limit the number of inodes in the file cache. Set to 0 for no limit.
  # The default value if this paramater is not specified is 0 (no limit).
  ModPagespeedFileCacheInodeLimit  500000

  # Bound the number of images that can be rewritten at any one time; this
  # avoids overloading the CPU.  Set this to 0 to remove the bound.
  #
  # ModPagespeedImageMaxRewritesAtOnce  8

  # You can also customize the number of threads per Apache process
  # mod_pagespeed will use to do resource optimization. Plain
  # "rewrite threads" are used to do short, latency-sensitive work,
  # while "expensive rewrite threads" are used for actual optimization
  # work that's more computationally expensive. If you live these unset,
  # or use values <= 0 the defaults will be used, which is 1 for both
  # values when using non-threaded MPMs (e.g. prefork) and 4 for both
  # on threaded MPMs (e.g. worker and event). These settings can only
  # be changed globally, and not per virtual host.
  #
  # ModPagespeedNumRewriteThreads 4
  # ModPagespeedNumExpensiveRewriteThreads 4
 
Top Bottom