Hi all,
I am developing a system plugin that will enable compression of javascripts and css files. Can anyone suggest me a way to cache compressed (minified) js/css files using the Joomla's built in cache API. My plugin will be called upon onBeforeCompileHead event and it will catch all the js/css files registered with the document and will compress files and replace the url of file to point the compressed file.
Since the files are going through the compression mechanism each and every time page is loaded, I need to cache the already compressed files and re compress only if the js/css file is modified or a new js/css file is added.
Thank you.--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/mBMglkZWr88J.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.