.htaccess edit to enable gzip compression + Browser caching

web application running on Centos

I want to add to the .htaccess to enable gzip compression + Browser caching

Browser Caching

<IfModule mod_expires.c>

ExpiresActive On

# Images

ExpiresByType image/jpeg "access plus 1 year"

ExpiresByType image/gif "access plus 1 year"

ExpiresByType image/png "access plus 1 year"

ExpiresByType image/webp "access plus 1 year"

ExpiresByType image/svg+xml "access plus 1 year"

ExpiresByType image/x-icon "access plus 1 year"

# Video

ExpiresByType video/mp4 "access plus 1 year"

ExpiresByType video/mpeg "access plus 1 year"

# CSS, JavaScript

ExpiresByType text/css "access plus 1 month"

ExpiresByType text/javascript "access plus 1 month"

ExpiresByType application/javascript "access plus 1 month"

# Others

ExpiresByType application/pdf "access plus 1 month"

ExpiresByType application/x-shockwave-flash "access plus 1 month"



<IfModule mod_deflate.c>

# Compress HTML, CSS, JavaScript, Text, XML and fonts

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/rss+xml

AddOutputFilterByType DEFLATE application/

AddOutputFilterByType DEFLATE application/x-font

AddOutputFilterByType DEFLATE application/x-font-opentype

AddOutputFilterByType DEFLATE application/x-font-otf

AddOutputFilterByType DEFLATE application/x-font-truetype

AddOutputFilterByType DEFLATE application/x-font-ttf

AddOutputFilterByType DEFLATE application/x-javascript

AddOutputFilterByType DEFLATE application/xhtml+xml

AddOutputFilterByType DEFLATE application/xml

AddOutputFilterByType DEFLATE font/opentype

AddOutputFilterByType DEFLATE font/otf

AddOutputFilterByType DEFLATE font/ttf

AddOutputFilterByType DEFLATE image/svg+xml

AddOutputFilterByType DEFLATE image/x-icon

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/javascript

AddOutputFilterByType DEFLATE text/plain

AddOutputFilterByType DEFLATE text/xml

# Remove browser bugs (only needed for really old browsers)

BrowserMatch ^Mozilla/4 gzip-only-text/html

BrowserMatch ^Mozilla/4\.0[678] no-gzip

BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

Header append Vary User-Agent


Skills: Apache, CentOs, Linux, Nginx, PHP

See more: xml documents read users browser reduce web traffic, browser space web design, edit exsisting web template flash, caching web service news feed, browser proofing web sites, squid proxy caching web server, browser based web games, snoopy imulates web browser automatically web fetching, browser proof web design, adjust browser differences web design, htaccess plesk enable, leverage browser caching joomla, browser background web design photoshop, leverage browser caching joomla page speed, online browser based web game hack, php code caching web pages saving directory, prevent caching web browser control, leverage browser caching magento, magento enable gzip compression

About the Employer:
( 13 reviews ) cairo, Egypt

Project ID: #20047501

16 freelancers are bidding on average $27 for this job


Hi, I am ready to add code to your website htaccess to enable gzip compression and browser leverage cache. Looking forward to your fruitfully response. Regards Muhammad Alyas

$35 USD in 1 day
(188 Reviews)

hello sherif galal, I will enable the required .htaccess components on your server and make them functional as well. I am an experienced system admin and i have done this several times before

$20 USD in 1 day
(514 Reviews)

Hello. i would like to help you with enable nod_expire and mod_deflate at . htaccess. I have experience. Please read my feedbacks. Thanks.

$25 USD in 1 day
(675 Reviews)

Hi I will add to the .htaccess to enable gzip compression + Browser as per requirements, have expertise in the relevant field. I have 10 years of experience. Ping me for further queries. Thanks

$30 USD in 1 day
(306 Reviews)

u already have the code what is the tough part ? its a simple copy paste job. please share the issue u r facing i can guide u accordingly

$20 USD in 1 day
(208 Reviews)

Hi I can update your ,. htaccess file for gzip and browse chase . I can start work right now and 5 years of experience as a system admin regards

$25 USD in 1 day
(151 Reviews)

Hello Employer, Greetings for the day! ⭐⭐⭐⭐⭐ I CAN START IMMEDIATELY ⭐⭐⭐⭐⭐ My name is Dmitry Kraitor and I am individual full-stack&full-time web developer. I have gone through the project description and I am very More

$30 USD in 1 day
(20 Reviews)

Hi, I can enable Gzip compression as well as the newest Brotli compression on your Apache web server and also enable browser caching feature as well. To discuss further contact me by sending a message.

$20 USD in 2 days
(31 Reviews)

Hello I can help you to update your htaccess file and directives for compression and caching. I have over 21 years of extensive experience with Apache and its modules and have completed many projects with issues simila More

$88 USD in 2 days
(12 Reviews)

Hello sir, nice to meet you! I'm a DevOps engineer with 3-year experience with Nginx, Apache. I'm confident to handle this task because it's one of my daily tasks in office. Feel free to contact me if need. Thank you More

$15 USD in 1 day
(34 Reviews)

Hi! it's nice to meet you. I'm Matias a freelancer from Argentina and can help you to make the right configuration for your server to be able to assign that functions to your htaccess. ** We can chat for more details a More

$25 USD in 2 days
(12 Reviews)

Hello, i can do this in less than 1 hour. ps. my name is Christopher and I'm an expert in Linux/unix and web hosting security. Also I am very good on PHP and MySQL debug and fix.

$30 USD in 1 day
(14 Reviews)

Hi I can update your ,. htaccess file for gzip and browse chase as per your requirement . I can start work right now and 5 years of experience as a system admin. looking forward here. regards priyanka

$20 USD in 1 day
(8 Reviews)

Hi... I have expertise in jQuery, Mobile jQuery, Javascript, Html5, CSS3 and Bootstrap. I can design websites, convert PSD to HTML in pixel perfect. Any jQuery related work can be done easily. My Expertise Skills: >> More

$20 USD in 1 day
(14 Reviews)

ready for the real solution? talk to me. over 10 years of unix and unix like sysadmin. featuring Unix: Solaris, Hp-UX, AIX GNU/Linux (Red Hat, Slackware, Debian, ubuntu server,ubuntu cloud) Advanced Power Virtual More

$20 USD in 1 day
(1 Review)

Hi, I am an experienced server administrator with more than 7 years of experience, I have done compression, browser cache leaveraging so many times, tons of experience in LAMP. Just Inbox me to discuss further

$10 USD in 1 day
(0 Reviews)