Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I installed this module on my project and it works just fine to detect the current browser using browscap_get_browser() which I am using to apply browser specific stylesheets. However, once that information is retrieved, it is saved in drupal cache and then if I visit the website in some other browser, it still has the stylsheets from the other broswer and I need to clear off drupal cache to get the correct stylesheets for current browser. Is there a way to handle this situation apart from setting to not cache pages in Performace. Any help in this matter will be helpful.
Thanks,
Sumit
Comments
Comment #1
gregglesThis is the inteded behavior of browscap. It's not a good match for the situation you describe.
I added a note to the project page to clarify that.
Comment #3
1kenthomas CreditAttribution: 1kenthomas commentedSee https://www.drupal.org/node/2469603#comment-10513992
(is there any potential solution? this seems to me to severely limit use cases)