• 0

Browser Specific CSS and Cache


Question

Posted · Report post

I'm using w3 total cache and the browser specific css tools. However, I've discovered which ever browser opens a page first sets that browser body tag in the cache for that page.

 

Example:

 

I open pageA in firefox after reseting the cache.  Then I open pageA in safari hoping the browser specific css I set for safari will apply, but it does not because the body tag is cached as firefox.

 

Thanks for any help.

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Hi,

 

Can you provide a link to your site please.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

You cant cache a page and expect it to change depending on the users browser. Unless you correctly configure the cache to ignore mobile devices or use a pure javascript detection plugin.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now