ElkArte Community

Elk Development => Feature Discussion => Exterminated Features => Topic started by: scripple on April 01, 2014, 12:10:18 am

Title: Question about combined/minimized css/js feature
Post by: scripple on April 01, 2014, 12:10:18 am
If a script or css is update, is clearing the cache the mechanism to get the combined scripts and css to be reloaded so the new information is served?
Title: Re: Question about combined/minimized css/js feature
Post by: emanuele on April 01, 2014, 08:05:50 am
In theory it should (based on filemtime (http://php.net/manual/en/function.filemtime.php), IIRC), so if it doesn't it should be considered a bug.
Title: Re: Question about combined/minimized css/js feature
Post by: Spuds on April 01, 2014, 08:19:15 am
Should detect the filemtime change and then it even builds a new ?stale value for the served file so it should be picked up automatically.
Title: Re: Question about combined/minimized css/js feature
Post by: scripple on April 01, 2014, 10:53:02 am
Cool.  I incorrectly guessed once you cached it you didn't check the original files anymore to save time.