Question:-
expiration not specified css file in cakephp ?
Answer:-
Change your webroot .htacess to this
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
</IfModule>
## EXPIRES CACHING ##
![image](/images/gyapti/user/93/anilbisht.jpg)
Anil Bist
Skills Cakephp
Qualifications :- High School - SLV, College/University - Graphic Era Deemed Univ University,Location :-Dehradun,Dehradun,Uttarakhand,
Description:-
I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore and my 1st framework was "Ruby on Rail" as Web development and delivered around 5+ Projects using this platform. Then came another dimension as JEE/Sturst framework, Gradually I realized that I want to build something on my own and give my passion and energy on creating something different a
Explore
Students (5)
Ask
![](/Classroom/images/question.png)
![image](/images/gyapti/user/237/20180325160547_IMG_1859_JPG.jpg)
Rohin
Ask
![](/Classroom/images/question.png)
![](/img/default/default.jpg)
Sanjay
Ask
![](/Classroom/images/question.png)
![](/img/default/default.jpg)
Riya
Ask
![](/Classroom/images/question.png)
![image](/images/gyapti/user/195/IMG_20170512_105704205_HDR.jpg)
deepu
Ask
![](/Classroom/images/question.png)
![image](/images/gyapti/user/176/176_profile_image.png)
divya
Recommended Classes
![image](/images/gyapti/user/93/anilbisht.jpg)
I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore an...
Professional
![image](/images/gyapti/user/673/IMG_2472_JPG.jpg)
Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional
![image](/images/gyapti/user/673/IMG_2472_JPG.jpg)
Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional