Jump to content

Featured Replies

Posted

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!

Solved by Daniel F

Go to solution
  • 4 weeks later...
  • Solution

$theme->css_updated will contain the timestamp of the last rebuild.

  • Author

Perfect, thank you!

Recently Browsing 0

  • No registered users viewing this page.