• Member for 7 years, 10 months
  • Last seen more than a month ago
Should I split a large CSS media queries file into separate files for each screen size?
5 votes

Its probably best to have only one CSS file, but to minify and gzip it. Assuming your 30KB are before doing that, you will probably get the file size down to about 5KB with minification (white space ...

View answer
How to redirect all links to new site with same domain & same content?
2 votes

If you are using the Apache webserver with activated mod_alias, you can use RedirectPermanent-Rules in your .htaccess/vHost-config: RedirectPermanent /old/url /foo/bar This specific rule only works ...

View answer
Skip part of URL
Accepted answer
5 votes

Activate mod_rewrite, and put this in a .htaccess file or a <Directory> directive: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l ...

View answer
How to point subdomain of A to folder of domain B
3 votes

If you have full control over, you could do this: Point the subdomain to the IP of in the DNS A-record (and AAAA-record, if you use IPv6). Add a virtual Host, server name alias ...

View answer
Google jQuery hosted library - is it any good?
11 votes

Another downside: Using a CDN allows operator of the CDN to track the sites visitors. That's why they don't cost money.

View answer