CSS-JS-Booster icon indicating copy to clipboard operation
CSS-JS-Booster copied to clipboard

[ENHANCEMENT] Clean urls

Open vvo opened this issue 15 years ago • 1 comments

Since we're planning to pass parameter by config files, why not now have calls to css and js files like this :

/CSS-JS-Booster/booster/css.md5.timestamp.datauri.css /CSS-JS-Booster/booster/css.md5.timestamp.mhtml.css /CSS-JS-Booster/booster/js.md5.timestamp.js

With help of htaccess of course it could also means that the web server could direclty read the files instead of calling a php script.

Apache can do rewrite rules to css.php or js.php only based on the fact that "does the file reall exists?" => yes => give it to me / no => call css.php or js.php based on file request

It would be safer i think.

I also know this is huge work but will definitely give css-js-booster a big advantage in the dynamic css js generation "world" :)

vvo avatar Aug 12 '10 15:08 vvo

This is tricky because i can't see atm how to know then wich files to merge/minify if the url does not contain the files. Perhaps we we'll have to use only config files and references them in the urls

vvo avatar Aug 12 '10 15:08 vvo