sacy icon indicating copy to clipboard operation
sacy copied to clipboard

Smarty function

Open jszczypk opened this issue 13 years ago • 1 comments

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

jszczypk avatar Feb 20 '11 20:02 jszczypk

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.

pilif avatar Apr 26 '12 07:04 pilif