Home > Not Working > Mod_expires Not Working

Mod_expires Not Working

Contents

ExpiresDefault "access plus 1 month" ... # media: images, video, audio ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg We are gettingAdd Expires headersscore F (0). Not a member yet? Any instructions in accesse, httpd don't give the decision.

It is possible to combine multiple time units, e.g. Of course you do! Ask a Question PaulAlford 74 Points 2014-07-23 9:59 pm I added the Basic expire code from this tutorial to my htaccess file and the GTMetrix Report is still saying "F" fail Which security measures make sense for a static web site?

Ifmodule Mod_expires.c Not Working

If any references to those files are left over, it will still attempt to deliver the old files. I tested that my htaccess file was indeed working by willingly introducing an error in it (commented out the IfModule open tag). Visit Chat Linked 2 Enable gzip compression On Worpress Hosted on Godaddy Related 1How to reliably determine server stack of a site (eg .Net vs Open Source)0How does home web server How do I deal with my current employer not respecting my decision to leave?

An infinite chain of theories Unable to convert latex to wolfram alpha's text Are there 2-3m illegal migrants with criminal records in the USA? No, create an account now. What is the number of parameters for AIC if some coefficients are zero? Expiresactive On If i havent access the file before enabling the expire module then everything works fine.

I gather there might not be a good solution to this one... asked 5 years ago viewed 18726 times active 2 months ago Get the weekly newsletter! EDIT: One thing that might be causing this is that I haven't done any recompile of any sort, how can you recompile your apache installation and check if mod_expires is properly Thank you all for helping me in resolving this issue. :) Regards, Rasheed.

Some will be in the http.conf file, but others may be loaded dynamically. Expiresactive On Htaccess Why were pre-election polls and forecast models so wrong about Donald Trump? JF Reply Arn Staff 35,445 Points 2014-12-20 8:40 am Hello Josefus, Thanks for the question. Why MSVC compiler does not detect std::array out of bound access more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile

How To Check If Mod_expires Is Enabled

You may have to register before you can post: click the register link above to proceed. https://www.digitalocean.com/community/questions/mod_expires-is-active-but-my-server-isn-t-caching-images How to kick users from Windows Server 2012R2 Do you still gain the magical benefits of a shield when wearing but not wielding it? Ifmodule Mod_expires.c Not Working Reply Rasheed n/a Points 2014-10-15 10:59 pm Hello Arnel, The configuration which is given by Scott is working. Mod_expires Example Kindest Regards, Scott M Reply Rasheed n/a Points 2014-10-14 12:02 am

Hello Scott,

So in my case the only soultion is we have to wait till the expire date which is there

asked 4 years ago viewed 21881 times active 6 months ago Upcoming Events 2016 Community Moderator Election ends in 8 days Linked 1 How to put JavaScript and CSS files in So, I'm asking whether there are instructions (code) that I can place in the .htaccess file that will have an effect on links going to outside servers.Recently, InMotion staff was able And like Gerben said, using the net tab in firefox, chrome dev tools, or some equivalent web developer tool helps see what headers are being sent and received. Reply Digant n/a Points 2015-07-01 7:24 am Hello, I have gtMetrix report with regarding below issue: http://fonts.googleapis.com/css?family=Lato:100,300,regular,700,900%7COpen+Sans:300%7CIndie+Flower:regular%7COswald:300,regular,700&subset=latin%2Clatin-ext http://www.gsds.ch/?sccss=1&ver=4.2.2 http://maps.google.com/maps/api/js?sensor=true&ver=4.2.2 http://connect.facebook.net/en_US/all.js?ver=4.2.2#xfbml=1&appId=188707654478 http://platform.linkedin.com/in.js?ver=4.2.2 http://assets.pinterest.com/js/pinit.js?ver=4.2.2 http://platform.twitter.com/widgets.js?ver=4.2.2 http://www.google.com/cse/cse.js?cx=011611224033597912732:za9icfo3wmq http://apis.google.com/js/plusone.js https://platform.linkedin.com/js/secureAnonymousFramework?v=0.0.2000-RC8.48397-1428& http://assets.pinterest.com/js/pinit_main.js http://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22search%22%2C%22version%22%3A%221.0%22%2C%22callback%22%3A%22__gcse.scb%22%2C%22style%22%3A%22http%3A%2F%2Fwww.google.com%2Fcse%2Fstyle%2Flook%2Fv2%2Fdefault.css%22%2C%22language%22%3A%22de%22%7D%2C%7B%22name%22%3A%22ads%22%2C%22version%22%3A%223%22%2C%22packages%22%3A%5B%22search%22%5D%2C%22callback%22%3A%22__gcse.sacb%22%7D%5D%7D http://www.google.com/uds/?file=search&v=1.0&hl=de&async=2&style=http%3A%2F%2Fwww.google.com%2Fcse%2Fstyle%2Flook%2Fv2%2Fdefault.css Enable Mod_expires

How relevant is retina.js to my web projects? Do any of the following actions show up in a credit report? Although 0 seconds may be more for development than production. Is it better practice to wrap Expires lines in ifmodule just in case, or not wrap to avoid tasking the server with the check?

Restart Apache after your changes: /etc/init.d/apache2 restart Instead of using FilesMatch and ExpiresDefault directives, you could also use the ExpiresByType directice and set an Expires header (plus the max-age directive of Ifmodule Mod_headers C Do they affect credit score? For that, i enabled the use of htaccess in apache2.conf.

What does this symbol from inside the Kaaba mean?

It may be possible to pull the resources periodically and store them on your server, but it is almost like a reverse cdn setup, and can cause other problems. Would you like to ask a question about this page? http://www.google-analytics.com/ga.js http://wd-edge.sharethis.com/button/getAllAppDefault.esi... Html Cache Control Example How do I add a node ID as class to the tag?

Reply Scott n/a Points 2015-04-23 8:50 am OK so my htacess is correct and proper? No changes needed or reccomended? Thanks, Chris Reply John-Paul Staff 25,852 Points 2015-11-13 11:37 am Hello Chris, Thank you for contacting us. I do not issue any guarantee that this will work for you! 1 Preliminary Note I'm assuming you have a working Apache setup on your Debian Squeeze server, e.g.