You can compress static files such as image files (.jpg, .png, ....), Flash files (.swf), Style sheets (.css), Javascript (.js) to reduce size of fetched files and make pages load faster. You can do gzip compression on these files via .htaccess file # 480 weeks <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> Header set Cache-Control "max-age=290304000, public" </FilesMatch> # … Continue reading gzip compression using .htaccess
Month: January 2013
To open new gmail compose email window use this url formation: https://mail.google.com/mail/?view=cm&fs=1&tf=1&su=Newest%20Questions%20-%20Stack%20Overflow&body=http%3A//stackoverflow.com/questions with parameters: - su: subject of the email - body: body of the email - view=cm: compose window also you can use these parameters: - "&to=" - "&cc=" - "&su=" - "&body="
To make cookies work globally on subdomains of a domain: setcookie('CookieName', 'Value', time() + 3600, '/', '.mydomain.com'); Note: remember to use the dot (.) in '.mydomain.com' not 'mydomain.com'