Forums

[resolved] [SOLVED] @import HTTP Requests (3 posts)

  1. humanshell
    Member
    Posted 1 year ago #

    I have a quick question for any CSS experts out there regarding using @import at the top of the main style.css.

    I've read in many different places that an important component in decreasing site load times is the limiting of unnecessary HTTP requests to your server.

    Does using @import in style.css to include a reset.css and a type.css from a specific CSS folder in my template's root create a single CSS file on the server side or am I basically pulling down three individual files and actually increasing my number of HTML requests?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You're pulling down three individual files.

  3. humanshell
    Member
    Posted 1 year ago #

    Thank you for the quick response.

    I'll switch to <link> instead.

Topic Closed

This topic has been closed to new replies.

About this Topic