John Watson

Hello! My name is Watson and I’m a freelance web developer. I create web sites using the latest tech for clients both huge and small. Rent my brain and I’ll help you build your dream project.

Magento admin browser caching

Magento has an aggressive browser caching policy that sets a default expiration of “access plus 1 year”. That tells your browser to cache everything locally for 1 year after the first access. You may notice some weird behavior in your Magento admin with that on, though. Like, after editing a product you have to hit refresh to see the changes when you edit it a second time. To tell web browsers to not cache Magento admin pages, add this to your Apache config:

<Location /index.php/admin>
  ExpiresDefault “now”