0

I am working on a mobile web app that outputs a number of CSS,HTML ans JS files into a single HTML file.

I was just wondering if anyone knew of libraries/classes that can automatically compress (and cache) the files before adding them to the html file.

1 Answer 1

1

minify (php >= 5.1.6)

Combines, minifies, and caches JavaScript and CSS files on demand to speed up page loads.

Another good one (which i use with Symfony(php framework))

Assetic

Sign up to request clarification or add additional context in comments.

1 Comment

it seems to have slower latency and only decrease the amount of data by 10kb than if I just add the JS directly to the HTML. Maybe it will make more of a difference when I have finished all the code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.