|
|
| Line 85: |
Line 85: |
|
| |
|
| This will disable generation of a new PDF each time you make a change on element. PDF generation will happens only when you click on "Generate" button. | | This will disable generation of a new PDF each time you make a change on element. PDF generation will happens only when you click on "Generate" button. |
|
| |
| == Use precompressed version of Javascript libraries ==
| |
| Efficiency: *
| |
|
| |
| Pre-requisites: Need to edit Apache setup.
| |
|
| |
| Principle: Modify Dolibarr to change all code lines $ext='.js' into $ext='.jgz' and compress all files .js into htdocs/includes into .jgz. Dolibarr will use the minifying and compressed version of javascript. Apache server must be configured to have the line
| |
| <source lang="ini">
| |
| AddType text/javascript .jgz
| |
| AddEncoding gzip .jgz
| |
| </source>
| |
| Then clean your cache browser.
| |
| Gain is not significative, also this feature seems to fails on HTTPS (security error for an unknown reason).
| |
|
| |
|
| == Compressing on the fly libraries and css == | | == Compressing on the fly libraries and css == |