Quote: Exactly would require that the compiled code is compressed before the file is saved in cache...
I saw in this article that:
If somebody could implement it in XOOPS, it would be very cool
There is also this article with optimization tips.
For compress Smarty With the Plugin Saci. (Smarty Asset Compiler (sacy)) They explain how: here
I'll try to do an installation on SMARTY neutral. (No Xoops)
is this the file scipt that one needs to download called Smarty-3.1.8. In this package there are 2 folders, one called libs and the other called demo in the libs and in the libs folder there are more, plugings and sysplugins where the file outputfilter.trimwhitespace.php resides
do one needs to install this Smarty folder in the root system
it's here ---> ../Smarty-3.1.8/libs/plugins/outputfilter.trimwhitespace.php
if it does not work is that it is the other smarty folder. (Other version).
The trick that I propose is more interesting. ;) And easy to implement.
It allows compressed code directly in the files in place. Therefore, the compression is done "before" saving the file cached.
The previous solution was performing compression (Minify Html) when displaying pages.
The solution that I propose to you now, it will compress the code, when creating the file it is cached. /xoops_data/caches/smarty_cache/your-file-cache.html.php /xoops_data/caches/smarty_compile/your-file-cache.html.php