Support » Plugin: Autoptimize » Which URL’s use which optimized files?

  • Resolved Grzegorz.Janoszka


    First of all I would like to thank you one more time for this fantastic plugin. It is just great and I am extremely happy about it.
    I am working hard on unifying JS and CSS on all my pages. 99% or more of URL’s in my site call 1 JS file and 1 CSS file.
    Every now and then I have some weird additional JS and CSS files appearing with small differences which can’t be explained. Like there is script which is always loaded but sometimes it is missing from aggregated JS.
    I would like to debug it more, but is there a way to know which URL was associated with which JS/CSS file? If not, which filter can I tap to use syslog to write AO file and URL after each page load?
    Thank you in advance for your support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters


    AO does not keep a list of pages with AO’ed CSS/ JS used, but you can indeed hook into autoptimize_action_cache_file_created to create that list yourself ๐Ÿ™‚


    Thread Starter Grzegorz.Janoszka


    OK, fantastic, that’s what I was looking for ๐Ÿ™‚
    After few hours of tapping that action I haven’t seen anything new, but I hope it will work, so I am closing it.
    Thank you for fantastic support ๐Ÿ™‚

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Which URL’s use which optimized files?’ is closed to new replies.