The Old Man Posted July 30, 2021 Posted July 30, 2021 Hi, Is there a timestamp available in IPS somewhere or perhaps a background task timestamp for when the theme's files (js/css) were last rebuilt/cached? Basically I need to compare it to another timestamp inside a plugin background task to decide whether to trigger a cache rebuild. I don't want to reinvent the wheel if IPS already stores the timestamp or age somewhere already. Many thanks!
Solution Daniel F Posted August 27, 2021 Solution Posted August 27, 2021 $theme->css_updated will contain the timestamp of the last rebuild. The Old Man 1
Recommended Posts