6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11017] precompress files in /static
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . .. ,.__ ._. [__)|_/ \./ [__) | [__)| \ | | \_|_
Comment
> In static/ are put the minified .js and .css files, which are sent to > the user's browser. If the webserver is configured properly, the > minified .js/.css files are cached on the user's side and the server > load on subsequent requests is minified this way. So far so good. > > Another possible optimization is to pre-compress the files in > /static, so that for each file a .js/css plain and .js.gz/.css.gz > version exists. With proper configuration of the webserver, when the > client ACCEPTs-ENCODING: GZIP, the webserver can check if there is a > pre-compressed file and sent it to the client, instead of sending > uncompressed file or compressing everytime the same files on the fly. > This leads to lower network traffic, lower server load, faster page > serving from user's perspective. > > The instructions for some webservers, how to call the precompressed > files vary. For Apache httpd you can find instructions that procees > .gzip files, for Nginx you have just to say "gzip_static on;" and the > server starts preferring files with .js.gz extenstion and when a file > .js is requested. > > Please extend the Horde configuration to ask the site adminsitrators, > if they want to have in /static pre-compressed .js and .css files, > and if yes, if they want .gzip or .gz extension for those files. (or > just create the .gz files in addition to the rest and that's all. > > Please mention this bug in > http://www.horde.org/apps/horde/docs/PERFORMANCE , or write some > alternative text to enable serving of pre-compression files on the > webserver.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers