1
0
Fork 0

Cleanup mods folder and remove privacy_image_cache from docs. fix #1151

This commit is contained in:
fabrixxm 2014-09-20 11:41:44 +02:00
parent 6da5cf8037
commit 5d1c7b4e4f
4 changed files with 39 additions and 71 deletions

View file

@ -70,19 +70,6 @@ This plugin reduces the database load massively. Downside: You can't see the tot
Go to the admin settings of "altpager" and set it to "global". Go to the admin settings of "altpager" and set it to "global".
###Privacy Image Cache
**Description**
This plugin pre-fetches external content and stores it in the cache. Besides speeding up the page rendering it is also good for the privacy of your users, since embedded pictures are loaded from your site and not from a foreign site (that could spy on the IP addresses).
Additionally it helps with content from external sites that have slow performance or aren not online all the time.
**Administration**
Please create a folder named "privacy_image_cache" and "photo" in your web root. If these folders exists then the cached files will be stored there. This has the great advantage that your web server will fetch the files directly from there.
###rendertime ###rendertime
This plugin doesn't speed up your system. It helps analyzing your bottlenecks. This plugin doesn't speed up your system. It helps analyzing your bottlenecks.

View file

@ -65,18 +65,6 @@ Dieses Plugin reduziert die Ladezeit der Datenbank massiv. Nachteil: Du kannst n
Gehe auf admin/plugins/altpager und wähle "global". Gehe auf admin/plugins/altpager und wähle "global".
###Privacy Image Cache
**Beschreibung**
Dieses Plugin lädt externe Inhalte vor und speichert sie im Cache. Neben der Beschleunigung der Seite dient es so außerdem dazu, die Privatssphäre der Nutzer zu schützen, da eingebettete Inhalte so von deiner Seite aus geladen werden und nicht von externen Quellen (die deine IP-Adresse ermitteln könnten).
Ebenso hilft es bei Inhalten, die nur langsam laden oder nicht immer online sind.
**Einrichtung**
Bitte erstelle einen Ordner namens "privacy_image_cache" und "photo" in deinem Stammverzeichnis. Wenn diese Ordner existieren, dann werden die zwischengespeicherten Inhalte dort abgelegt. Dies hat den großen Vorteil, dass der Server die Dateien direkt von dort bezieht.
###rendertime ###rendertime
**Beschreibung** **Beschreibung**

View file

@ -1,18 +1,7 @@
Site speed can be improved when the following indexes are set. They sample-Lighttpd.config
cannot be set through the update script because on large sites they will sample-nginx.config
block the site for several minutes.
Sample configuration files to use Friendica with Lighttpd
or Nginx. Pleas check software documentation to know how modify
these examples to make them work on your server.
CREATE INDEX `uid_commented` ON `item` (`uid`, `commented`);
CREATE INDEX `uid_created` ON `item` (`uid`, `created`);
CREATE INDEX `uid_unseen` ON `item` (`uid`, `unseen`);
CREATE INDEX `resource-id` ON `item` (`resource-id`);
CREATE INDEX `uri_received` ON item(`uri`, `received`);
CREATE INDEX `received_uri` ON item(`received`, `uri`);
CREATE INDEX `contact-id_created` ON item(`contact-id`, created);
CREATE INDEX `uid_network_received` ON item(`uid`, `network`, `received`);
CREATE INDEX `uid_parent` ON item(`uid`, `parent`);
CREATE INDEX `uid_received` ON item(`uid`, `received`);
CREATE INDEX `uid_network_commented` ON item(`uid`, `network`, `commented`);
CREATE INDEX `uid_commented` ON item(`uid`, `commented`);
CREATE INDEX `uid_title` ON item(uid, `title`);
CREATE INDEX `created_contact-id` ON item(`created`, `contact-id`);

View file

@ -42,10 +42,14 @@ server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data" server.username = "www-data"
server.groupname = "www-data" server.groupname = "www-data"
# enable SSL
ssl.engine = "enable" ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/ssl/wordpress.pem" ssl.pemfile = "/etc/lighttpd/ssl/wordpress.pem"
ssl.ca-file = "/etc/lighttpd/ssl/ca.pem" ssl.ca-file = "/etc/lighttpd/ssl/ca.pem"
# fix for problem between curl and lighttpd
server.reject-expect-100-with-417 = "disable"
# Send everybody to landing # Send everybody to landing
page: page:
$SERVER["socket"] == ":80" { $SERVER["socket"] == ":80" {