Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Reducing the number of files
Avatar
praveen #1
User title: pc
Member since Dec 2006 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Reducing the number of files
I have limited disk space and file quota (limit of 5000 files, dokuwiki was taking up ~2500 files) on my web hosting service. How can I reduce the size and number of files in the dokuwiki installation ? I have deleted all the language files except English (directory en/). Is this OK ? What else can I delete without affecting the working on the wiki ?
pc
Avatar
koko #2
Member since May 2006 · 161 posts · Location: Zonhoven Belgium
Group memberships: Members
Show profile · Link to this post
hi,

If you won't use syntax coloring, you can delethe the geshi-package (/inc/geshi). This means another 79 scripts less...
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Avatar
praveen #3
User title: pc
Member since Dec 2006 · 4 posts
Group memberships: Members
Show profile · Link to this post
Thanks for the tip. I use syntax highlighting but I can delete most of the files since I will be using only a few programming languages. Any other files that are dispensable ?
praveen
Avatar
koko #4
Member since May 2006 · 161 posts · Location: Zonhoven Belgium
Group memberships: Members
Show profile · Link to this post
hi,

How many files do you have right now?
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Avatar
praveen #5
User title: pc
Member since Dec 2006 · 4 posts
Group memberships: Members
Show profile · Link to this post
If I do

$ find . -type f | wc -l
    1195

In the different directories

bin: 4
conf: 19
data: 385
inc: 156
lib: 624
Avatar
praveen #6
User title: pc
Member since Dec 2006 · 4 posts
Group memberships: Members
Show profile · Link to this post
I found that many of the plugins contain lot of language files. After deleting all but the English (en) I now reduced the total number of files to 942. What are the ways I can reduce the size of data/ directory ?
Avatar
koko #7
Member since May 2006 · 161 posts · Location: Zonhoven Belgium
Group memberships: Members
Show profile · Link to this post
write just a few pages in stead of many :-D
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Avatar
andi (Administrator) #8
User title: splitbrain
Member since May 2006 · 3450 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
DokuWiki creates a lot of files for caching, you may want to make sure to delete older (and maybe abandoned) cache files regularly (see the maintenance chapter in the manual). In the long term I recommend to get a provider without such silly restrictions.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-07-23, 13:43:06 (UTC +02:00)