Title: Browser cache just wont work
Last modified: February 3, 2019

---

# Browser cache just wont work

 *  Resolved [segmant](https://wordpress.org/support/users/segmant/)
 * (@segmant)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/browser-cache-just-wont-work/)
 * Hi
 * I run the same setup on 5 sites on the same server, same theme, same wordpress
   version, basically identical apart from the design of the frontend yet this one
   wordpress install will not serve cached images no matter what I do.
 * I run the same W3TC setup on all.
 * I need help being pointed in the direction of whats causing it as ive run out
   of ideas.
 * [https://trenchermans-guide.com](https://trenchermans-guide.com)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbrowser-cache-just-wont-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/browser-cache-just-wont-work/#post-11166332)
 * Hello,
    What settings are enabled in Browser Cache? More specifically Media &
   Other Files sub-box.
 *  Thread Starter [segmant](https://wordpress.org/support/users/segmant/)
 * (@segmant)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/browser-cache-just-wont-work/#post-11168037)
 * Hi Marko
 * The settings we have are all boxes checked in Browser Caching with the below 
   as well
 * `Expires header lifetime: 31536000`
 * `Cache Control policy: Cache with max-age ("public, max-age=EXPIRES_SECONDS")`
 * The thing is we’ve used W3TC for years so we know our settings, plus we run our
   own dedicated server. Its just this one WordPress install that browser caching
   is failing.
 * Thanks
 * Chris
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/browser-cache-just-wont-work/#post-11175134)
 * Hello,
    You use Plesk control panel and nginx server handles images. There is
   a configuration when your frontend server is nginx and handles all static assets,
   while PHP requests are handled by Apache. In that case, w3tc can’t know about
   your frontend server and generates rules for Apache, but it never handles images.
   In that case, you need to add expires headers rules in your nginx config manually.
 * Check if that’s your case.
 *  Thread Starter [segmant](https://wordpress.org/support/users/segmant/)
 * (@segmant)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/browser-cache-just-wont-work/#post-11176312)
 * Hi Marko
 * Yes sorry that was a complete oversight, all now going through Apache, i had `
   Smart static files processing` still selected in NGINX, but still the problem
   remains.
 * All lighthouse reports say I need to Serve static assets with an efficient cache
   policy, cache TTL is listed as none on all PNG, GIF and JPEG files?
 * Thanks
 * Chris
 *  Thread Starter [segmant](https://wordpress.org/support/users/segmant/)
 * (@segmant)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/browser-cache-just-wont-work/#post-11180599)
 * Hi Marko
 * After some experimenting, Its clear its not a W3TC issue, I’ve added browser 
   caching directly into my .htaccess file, turned off the W3TC browser caching 
   and still not registering in Lighthouse.
 * I have EXACTLY the same caching setup on the same server on a different wordpress
   install and browser caching is recognised.
 *  Thread Starter [segmant](https://wordpress.org/support/users/segmant/)
 * (@segmant)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/browser-cache-just-wont-work/#post-11181840)
 * Turns out the .htaccess wasn’t being read by Apache due to a conf file error 
   in PLESK

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Browser cache just wont work’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [browser cache](https://wordpress.org/support/topic-tag/browser-cache/)

 * 6 replies
 * 2 participants
 * Last reply from: [segmant](https://wordpress.org/support/users/segmant/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/browser-cache-just-wont-work/#post-11181840)
 * Status: resolved