Quantcast
Channel: How do I Add Expires headers for CSS file with ?ver=4.1 - Webmasters Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Mike -- No longer here for How do I Add Expires headers for CSS...

I'm assuming you want one file to process different CSS based on different parameters.I have a better answer, and as a benefit to this answer, you can have pretty urls instead of requiring a client...

View Article



Answer by Stephen Ostermiller for How do I Add Expires headers for CSS file...

You should set your expires for all CSS content by mime type this way: ExpiresByType text/css "access plus 6 months"You could also set the expires just for a single file:<Files css/front.css>...

View Article

How do I Add Expires headers for CSS file with ?ver=4.1

I'm optimizing my website with Gtmetrix and in Add Expires headers section it shows the below error-There are 49 static components without a far-future expiration date.css/front.css?ver=4.1How do I Add...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images