Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHANCEMENT] Clean urls #19

Open
vvo opened this issue Aug 12, 2010 · 1 comment
Open

[ENHANCEMENT] Clean urls #19

vvo opened this issue Aug 12, 2010 · 1 comment

Comments

@vvo
Copy link
Contributor

vvo commented Aug 12, 2010

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
Copy link
Contributor Author

vvo commented Aug 12, 2010

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant