Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Browser side caching of virtue_premium/assets/css/skins/default.css, use version

Home / Forums / Virtue Theme / Browser side caching of virtue_premium/assets/css/skins/default.css, use version

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
  • This topic is empty.
September 26, 2014 at 4:28 am

According to the recommendations (e.g. I use long term browser side caching for all CSS and JS. This works without problems since these are delivered with a ?ver=X.Y.Z so that updates are easy.

However, I noticed that virtue_premium/assets/css/skins/default.css does not come with such a version. I understand it is a bit different here because this CSS is generated from the Virtue settings. However, I think you could store the last modication time (last time user hit “save”) and use this as a version here. Or you could just use a counter that is increased by 1 everytime the admin hits the save button at the virtue settings…

I think this would be a good under the hood improvement. I noticed this when running page speed, yslow and webpagetest tools on my site.

  • The topic ‘Browser side caching of virtue_premium/assets/css/skins/default.css, use version’ is closed to new replies.