New website for Google Open Source

Thor

Honorary Master
Joined
Jun 5, 2014
Messages
41,593
I assume they use .htaccess to prevent all these additional HTTP requests?

HTML:
// Data URIs
@import 'data_uris/_gos_logo';
@import 'data_uris/_gos_logo_white';
@import 'data_uris/_google_logo';
@import 'data_uris/_caret';
@import 'data_uris/_caret_dark';
@import 'data_uris/_chevron_dark';
@import 'data_uris/_chevron_blue';
@import 'data_uris/_docs_bg_tile';
@import 'data_uris/_magnifying_glass';
@import 'data_uris/_icon_explore';
@import 'data_uris/_icon_list';
@import 'data_uris/_icon_close';
@import 'data_uris/_home_benefits';

// Globals
@import '_global';
@import '_icons';

// Components
@import '_grid';
@import '_nav';
@import '_modifiers';
@import '_loader';

// Partials
@import '_header';
@import '_main';
@import '_hero';
@import '_home';
@import '_blog';
@import '_projects';
@import '_community';
@import '_affiliations';
@import '_docs';
@import '_footer';

Non related example:

PHP:
<FilesMatch "\.combined\.(js|css)$">
    Options +Includes
    SetOutputFilter INCLUDES
</FilesMatch>

HTML:
<!--#include file="reset.css"-->
<!--#include file="global.css"-->
etc
 
Last edited:
Top