Category: Performance / Speed / Load / Compression / Cache
Show subcategories objects| Name | Type |
|---|---|
|
UI not visible to Upload video via Kaltura
We have deployed out TikiWiki on Cloud Azure website and performance is very slow. It's taking about 10 seconds to load the page. We are currently using “Smarty template engine”. We are currently using version version 5.5.2 of PHP. We are currently using TikiWiki version 13.0. The application is deployed on IIS Server. We have increased the default PHP memory allocation from 128 to 512 MB. Also we have enabled limited TikiWiki features needed for our usage. Please suggest as what can be done to improve the performance. |
tracker item |
|
User tasks on dev.tikiwiki.org is mega slow (60+ seconds for some operations)
Just play around with it (sending a task, etc) and you will see. Maybe it's because this site has thousands of users and on a clean install, it will be fast. --- When adding a task from a module: [ Execution time: 212.52 secs ] [ Memory usage: 10.13MB ] [ 143 database queries used ] [ GZIP Enabled ] [ Server load: 6.65 ] --- The problem seems to be with the module "user_tasks" and presumably "user_tasks_public". When these modules are not assigned (activated), the task feature is fast (and quite nice/complete, I must say). It appears to be when the module cache is (re)generated. |
tracker item |
|
virtual wikis seem to share cache for groups and categories drop down lists
Hello, I'm using tikiwiki 1.9.7 and we have several virtual wikis installed at present. The problem is that the groups we get in the admin section are the groups from the virtual wiki that last made a modification to its groups. So sometimes, on the virtual wiki on which I'm admin, I see the groups of another virtual wiki, and not my own groups. The same happens for the categories. (This might also affect other domains that I haven't identified). What seems to be happening, is that once there is a modification to groups in one of the virtual wikis, the cache is updated with that content and it seems that all virtual wikis must share the same cache... The exact cause would have to be investigated properlly as this is only an assumption deduced from the symptoms. What I do know, is that in the wiki admin section, I made sure that the cache was set to 0 (no cache), and that the individual cache checkbox was unchecked (no sure what this is supposed to do). So if this is a cache problem, it apparently occurs with a cache that you have no choice of using. Also, it can't be a browser's cache because I never go to the other virutal wikis, so there is no reason these other groups should appear in my browser suddenly. When I do go in the groups section, the right groups are listed on the page in the section 'list of existing groups' , but in the include box of the 'add new group' section, the groups are wrong. Well that's about it, I hope this is enough information to solve this bug. Let me know if you need specific information I haven't included in this report. Kreugen |
tracker item |
|
Wiki Cache makes part of the page wonky: it's ok when refreshed.
See screeshot |
tracker item |
|
wiki parsing processes inefficiently much and maybe even insecure
Try this: {CODE()} {GROUP(groups=>"xyz")} {PLUGIN(that takes long) /} {ELSE} {ANOTHERPLUGIN(that takes long) /} {GROUP} {CODE} The parser goes through both plugin and another plugin. Related: 3134 http://dev.tikiwiki.org/tiki-view_tracker_item.php?itemId=3134&trackerId=5&show=view Is the parser improvement already on the TW6.0 blockers' list? |
tracker item |
|
doc.t.o: memcachepool.set SERVER_ERROR object too large for cache lib/cache/memcachelib.php
I saw this error when visiting this url: http://doc.tiki.org/preview564 {CODE()} ( ! ) Notice: MemcachePool::set() [<a href='memcachepool.set'>memcachepool.set</a>]: Server 127.0.0.1 (tcp 11211, udp 0) failed with: SERVER_ERROR object too large for cache (3) in /path/lib/cache/memcachelib.php on line 169 Call Stack # Time Memory Function Location 1 0.0004 797536 {main}( ) ../route.php:0 2 0.0016 1069608 include( '/path/tiki-download_file.php' ) ../route.php:245 3 3.6856 80335592 Cachelib->cacheItem( ) ../tiki-download_file.php:369 4 3.6856 80335592 CacheLibMemcache->cacheItem( ) ../cachelib.php:44 5 3.6856 80335768 Memcachelib->set( ) ../cachelib.php:387 6 3.6856 80336192 set ( ) ../memcachelib.php:169 {CODE} {img fileId="720" thumb="y" rel="box[g]"} |
tracker item |
|
Error just after profile is applied: Cache file temp/cache/modulexxx is not writable
After applying a profile in 20.x, plenty of ugly error message notices are shown, regarding inability to create plenty of cache files: Things like: {QUOTE()} Error Cache file temp/cache/module8756ab3c25fd45a0a55957e6d7bb1f16 is not writable {QUOTE} Very bad image for any one testing a brand new tiki site, and clicking for instance at any of the featured profiles. |
tracker item |
|
Fixed HTTP Expires Header is in year 1981
Hello, we have noticed a problem within some HTTP response headers where the value the Expires-key is hard set to "Expires: Thu, 19 Nov 1981 08:52:00 GMT". This causes some browsers to not be able to cache the page and cause performance issues. We first experienced this with requests to article_image.php?image_type=topic&id=<someid> Then we noticed, that the index.php has this Expires header value set, too. And unfortunately it's the same on dev.tiki.org, too. Could you please have a look? Thanks in advance! Lars |
tracker item |
|
HTTP headers incorrect
If you inspect the HTTP headers of a page generated by Tiki, it has an Expires header in the past: -+Expires: Thu, 19 Nov 1981 08:52:00 GMT+- Beside that, I also suggest to enable caching, at least in the Raw page display (tiki-index_raw.php?page=), it enables the browser to cache frequently used information by something like the AJAXLoad plugin and improves performance. Now the Pragma header has: -+Pragma: no-cache+- And the cache-control header: -+Cache-Control: no-store, no-cache, must-revalidate+- |
tracker item |
|
http://tiki.org/tiki-admin.php?page=performance OpCache has run out of memory
{img fileId="864"} Amette contributed a way for Tiki to report its health: http://sourceforge.net/p/tikiwiki/code/HEAD/tree/trunk/tiki-monitor.php http://sourceforge.net/p/tikiwiki/code/HEAD/tree/trunk/doc/devtools/check_tiki.php http://sourceforge.net/p/tikiwiki/code/HEAD/tree/trunk/doc/devtools/check_tiki-new.php This could help 1- Alert quickly the right people to get the site back up 2- Provide data to understand what went wrong Related: * {wish id=4836} * {wish id=4678} |
tracker item |
|
Improve page load times by not loading unused CSS and Javascript (e.g., elfinder.js, code_mirror.js, etc.)
More info from bootstrap: !# Unused CSS ... While we don’t have a prebuilt example for using PurgeCSS with Bootstrap, there are some helpful articles and walkthroughs that the community has written. Here are some options: https://medium.com/dwarves-foundation/remove-unused-css-styles-from-bootstrap-using-purgecss-88395a2c5772 https://lukelowrey.com/automatically-removeunused-css-from-bootstrap-or-other-frameworks/ Lastly, this CSS Tricks article on unused CSS shows how to use PurgeCSS and other similar tools. ... !# Non-blocking files While minifying and using compression might seem like enough, making your files non-blocking ones is also a big step in making your site well-optimized and fast enough. If you are using a Lighthouse plugin in Google Chrome, you may have stumbled over FCP. The First Contentful Paint metric measures the time from when the page starts loading to when any part of the page’s content is rendered on the screen. You can improve FCP by deferring non-critical JavaScript or CSS. What does that mean? Simply, JavaScript or stylesheets that don’t need to be present on the first paint of your page should be marked with ''__async or defer__'' attributes. This ensures that the less important resources are loaded later and not blocking the first paint. On the other hand, critical resources can be included as inline scripts or styles. If you want to learn more about this, there are already a lot of great articles about it: https://web.dev/render-blocking-resources/ https://web.dev/defer-non-critical-css/ |
tracker item |
|
Improve YSlow scores
Please see: ((YSlow)) Increase ySlow score for all SUMO pages to A https://bugzilla.mozilla.org/show_bug.cgi?id=444274 |
tracker item |
|
In htaccess, IfModule deflate_module is not picking up for ClearOS
_htaccess contains the following but has no effect in ClearOS (which is like CentOS) {CODE()} <IfModule deflate_module> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript application/javascript </IfModule> {CODE} But the following works: {CODE()} <IfModule mod_deflate.c> <filesMatch "\.(js|css|html)$"> SetOutputFilter DEFLATE </filesMatch> </IfModule> {CODE} http://gtmetrix.com/ reports a difference for PageSpeed Enable gzip compression and YSlow Compress components with gzip I am wondering if I should add or replace. |
tracker item |
|
Is there a way to make tikiwiki faster without throwing more expensive compute resources at it
Hi all, I have been using tikiwiki since it was about v14 and have seen it use more and more compute resource. I recently pulled a production site from AWS as the compute bills where starting to get out of hand. I think I would have a hard time convincing small sme's to fork out hundreds of euro each month for in-house tikiwiki hosting. Any thoughts are welcome. I have tried disabling various features but it still takes up cpu time. This isn't a complaint, I love tikiwiki , but if tikiwiki increase in size it will become a software suite for large corporations ONLY. Cheers, Kevin. |
tracker item |
|
Read-only mode (ex.: when migrating a Tiki to a new server and you want the old one to still show content but not have edits)
We have a site_closed preference which is very useful. However, this permits only the admins to access the site. What if we want a read-only mirror? It would be nice to a have a preference for this, along with a message to users: "This site is in read-only" and admins could change this message to indicate where the live site is. Perhaps it could be interesting to check if the mysql user is "read only" as well... This could also be interesting if a project is completed and we want to keep a site an an archive but no longer have any changes. Things like tiki-logs, date of last login, etc. will need to considered. Perhaps there could be a check: If current users has an edit/add permission (we'd have to make a list), then, he gets a warning that site is read-only (a message that the admin could change) and that any changes will be lost. |
tracker item |
|
Solved: Multiple domains to single site modules in the wrong place
I use Tiki Wiki for many of my sites and some of them have multiple domains associated with them. So domain.ca, domain.com and domain.co.uk all point to the same folder on the same server using domain redirection. The main domain works and looks fine but if I go to any of the other domains everything is there but it is out of place. The modules were in the wrong place on the screen and it looked like the theme CSS was messed up. I tried playing with perspectives, multi-domain, areas, domain redirects (within Tiki), category, themes, and anything else that looked promising. |
tracker item |
|
Dogfood Unified search (Zend_Search_Lucene) on doc.t.o, dev.t.o, profiles.t.o
{syntax type="tiki" editor="plain"} Themes.tiki.org is OK: Indexation wiki page: 214 forum post: 178 blog post: 59 article: 18 file: 80 trackeritem: 28 comment: 35 But the other sites are unable to complete the indexation. --- Custom module "Search_tracker_summary" is generating: "Required features: feature_search. If you do not have the privileges to activate these features, ask the site administrator." blank page here as well: https://nextdev.tiki.org/tiki-admin.php?page=search&rebuild=now |
tracker item |
|
Banner cache is not cleared when using 'Clear all Tiki caches' feature
TikiWiki 6.6 When using banners, and you update the banner table manually, the changes are not visible because the banners are cached. (so far so good). However when clicking 'Clear all tiki caches' the banner cache (which resides in the /temp dir) is not cleared. |
tracker item |
|
Newsletters not being sent out normally if Gzip output is enabled
{syntax type="tiki" editor="plain"} When Gzip output is enabled under Admin | Spped & Performance, it is not possible to send out newsletters greater than 100 in number, if at all. When attempting to send newsletters, it shows a 'Cannot load page' message in the frame where the log of email addresses normally appears. |
tracker item |
|
6.7 LTS: Possible security threat: Logging into Wiki A as admin may raise your privilege level in Wiki B
{syntax type="tiki" editor="plain"} I looked if something like this has been reported previously, but didn't find something that completely fits, so I post this and apologize if I missed something. Since I have already put some detail into a [http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=44097#threadId44102|support request] and at the moment I believe it only concerns two Wikis belonging to the same admin, here is a description: Steps to reproduce: 1) Take any Tiki installation and move a new directory 2) Create a new DB with a copy of the original DB 3) Upgrade and start it up 4) Log into the old installation as admin 5) Find out you're admin on the new one, too. It may well be that for some admins this is a wanted behaviour like as a single-sign-on (SSO). But it is my firm belief that any such behaviour is to be considerd a breach of security unless both admins have expressley activated this as a wanted behaviour. Possibly the problem also exists if two different admins operate two different Tikis on the same hosted volume, that somehow were created from one single predecessor, so maybe this is not as harmless as it might seem to be. I do not know, but suspect, this could be a cookie issue. Resolution could be that tiki-installer regenerates all security structures upon installation and/or upgrades, or at least asks the admin whether such should be reset. Also, there should be a button in the administration panel to reset this at any later time. In my opinion TikiWiki should at all times, if not told to behave otherwise, protect its instance against all other possible instances of itself... At some point confusion may get so high to a user's browser that logging into Wiki B alone will not function, and you have to log into Wiki A to be able to access Wiki B. At the moment I experience this with my new 6.7 LTS and my old 1.9.8.3. sitting in different directories on the same volume, accessing to different MySQL DBs with differing user names and passwords... |
tracker item |
|
Using Wiki cache can show the wrong language to other users
Using wiki page cache, it happens that page cache is generated by a user who set his language to Italian. And then, the page is visited by someone who has language to something else, but sees Italian. Workaround: turn off wiki page cache if you have a multilingual site |
tracker item |
|
Pollution of URLs by sending relative links to inexisting subdirectories
On doc.tiki.org/Installation, there is a link to doc.tiki.org/tiki-index.php/page=Installation {img fileId=54} And then, this page is broken, and it has many new links to index, most of which are invalid. {img fileId=55} Another example: {img fileId=63} |
tracker item |
|
Add support for WinCache in tiki-check.php and Performance Admin panel (same as APC and XCache)
http://www.iis.net/downloads/microsoft/wincache-extension https://www.microsoft.com/web/post/performance-tuning-php-apps-on-windows-with-wincache http://php.net/manual/en/wincache.configuration.php |
tracker item |
|
Installation/Infrastructure
This tracker is made to help filtering and sorting the features vs categories vs options we need to tag a bug/regression/wish with. |
tracker item |
|
11.x: JS minify broken when interface in Catalan
r45953 SVN (11.0svn): May 15 2013 - REV 45953 In a multitiki install of mine, I tested an upgrade from tiki9 to tiki11, and then, switching tabs in admin panels, stopped working. Once I disabled the js minification setting, tabs worked again. Tried in demo.t.o/Tiki11, and it works well with or without js minification. So I was that's where the issue must come from. --- the issue is still present in : Monday 10 June, 2013 23:33:08 CEST- REV 46275, and seems related to the Catalan interface. Once the interface is set to Catalan, and page reloaded twice, js features stop working. Reproduced also here in dev.t.o |
tracker item |