Andrew Dolgov
b14f6d58b4
implement hard limits on downloaded data size for general fetching and cache plugins: MAX_DOWNLOAD_FILE_SIZE & MAX_CACHE_FILE_SIZE
2018-05-20 11:08:33 +03:00
Andrew Dolgov
96930889dd
plugins/cache_starred_images: use PDO
2017-12-03 11:03:09 +03:00
Andrew Dolgov
8b73bd28d8
remove apache-specific x-sendfile stuff
...
implement a hook (HOOK_SEND_LOCAL_FILE) which plugins may use to send files
via httpd-specific implementation to increase performance typically on larger files
2017-10-08 17:14:56 +03:00
Andrew Dolgov
6fd0399694
tunables:
...
* add CACHE_MAX_DAYS as a tunable generic expiry interval for various cached files
* add some comments to tunables in functions.php
* rename _MIN_CACHE_FILE_SIZE to MIN_CACHE_FILE_SIZE
* respect MIN_CACHE_FILE_SIZE setting in a few more places where content is cached
2017-05-29 23:14:42 +03:00
Andrew Dolgov
21ce7d9ec0
update phpmd ruleset to use (subset) of cleancode
...
fix various minor issues reported by static analysis
remove redundant php closing tag from several more files
2017-04-26 20:57:36 +03:00
Andrew Dolgov
5edd605ae1
image cache: do not try to cache data: schema urls; add caching of html5 video content (similar to cache_starred_images plugin)
2017-02-04 11:50:01 +03:00
Andrew Dolgov
c203486e04
cache_starred_images: set filename when sending cached image
2016-01-06 21:00:53 +03:00
Andrew Dolgov
88bf000f8d
cache_starred_images: also handle html5 mp4 video files
2015-07-07 13:07:58 +03:00
Andrew Dolgov
95ebe737bd
cache_starred_images: route images to public.php
2015-02-25 21:16:14 +03:00
Andrew Dolgov
849c66b783
remove ob_clean/flush shit as unneeded hacks from cached image output routines
2014-08-21 13:20:23 +04:00
Andrew Dolgov
ae3851b1b5
discard gzipped buffer in cache starred image sender method
2013-10-05 20:28:26 +04:00
Andrew Dolgov
f5967cf825
cache starred: only try to chmod cache directory if it is not writable
2013-09-06 09:21:17 +04:00
Andrew Dolgov
4e5ddeafa6
make cache starred plugin use hook_house_keeping
2013-08-02 14:12:56 +04:00
Andrew Dolgov
910592b49a
add plugin to cache images in starred articles; pass article_id to
...
sanitize
2013-08-02 14:04:14 +04:00