0

I'm actually working on a big project with a custom MVC. We have a class that loads all modules config, this contains an array of css and javascript necessaries.

I favor to get contents of all css and load into one to reduce HTTP request in my header. I doubt after seeing similar MVC to I dunno if it has any disadvantage

1 Answer 1

1

Browsers have a max parralels connexion limit (to one domain) so yes, it's better to load a single file for css or js.

An other solution is to have multiple subdomains like and download content from them:

a.mydomain.com
b.mydomain.com
c.mydomain.com
Sign up to request clarification or add additional context in comments.

Comments

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.