New Twitter/Statusnet-shortening - cache improvements with "privacy_image_cache" #82

Merged
annando merged 10 commits from master into master 2012-11-17 22:33:42 +01:00
annando commented 2012-11-17 16:33:34 +01:00 (Migrated from github.com)

This pull requests contains two things:

  1. I created an optional method for shortening the posts to twitter/statusnet. It looks for several things in the post and tries to make a good looking post with an useful link at the end. It is optional and configurable via the config. I haven't made it accessible via the web page by now.
  2. I'm using the "privacy_image_cache" addon for caching. I improved the file cache storage so that there are subfolders (which results in fewer files per folder). Additionally I'm now working with the http headers so that the system can answer that the content isn't new (HTTP status 302). This dramatically improves the performance.

To make this work the pull request from the main repository has to be accepted as well.

This pull requests contains two things: 1. I created an optional method for shortening the posts to twitter/statusnet. It looks for several things in the post and tries to make a good looking post with an useful link at the end. It is optional and configurable via the config. I haven't made it accessible via the web page by now. 2. I'm using the "privacy_image_cache" addon for caching. I improved the file cache storage so that there are subfolders (which results in fewer files per folder). Additionally I'm now working with the http headers so that the system can answer that the content isn't new (HTTP status 302). This dramatically improves the performance. To make this work the pull request from the main repository has to be accepted as well.
Sign in to join this conversation.
No description provided.