• Resolved timholz

    (@timholz)


    Hi – i have a php function that enqueues seven different styles and scripts for different site-locations. I noticed that sometimes a script or a style that is meant for a specific location still lingers around on other locations. Is seven different styles and scripts too much?
    Thanks for your feedback.
    theo

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

    (@optimizingmatters)

    no, there must be other reasons why AO does not aggregate those Theo (permissions or autoptimziBase->getpath() not being able to “translate” the URL to a filesystem path. you could add some temporary error-logging to getpath to find out what is going on?

    Thread Starter timholz

    (@timholz)

    Ok, thanks for the quick reply. I’ll test your suggestion.
    In the meanwhile i changed the loading logic and i seems to work as expected.
    regards theo

    • This reply was modified 1 year, 11 months ago by timholz.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a limit for styles and scripts that ao can handle?’ is closed to new replies.