sacy
sacy copied to clipboard
Smarty function
Hi,
I think, that it will be very useful to make Smarty function that makes takes a list of CSS or JS files, compiles them into one file as existing block function, but only outputs a path to compiled file - without any tags etc. This can be used to make delayed loading of JS and CSS possible.
Regards, Janusz
it's not optimal (as in: the interface pretty much sucks because it's an internal feature), but you can use sacy_generate_cache()
which does exactly what you need.
I'll try to make this more convenient though.