• Resolved CEMBTW

    (@cembtw)


    I know it is possible to change the filename prefix of optimized files, but would it be possible to change the naming scheme from the hash-like default to something static like a post/page id? Where is name generation handled?

    I would rather be responsible for purging cached content after a change than have bots and crawlers perpetually requesting long-purged files.

    Thanks for the work on the plugin, by the way.

Viewing 1 replies (of 1 total)
  • Plugin Author Frank Goossens

    (@futtta)

    the hash-part is a hash of the aggregated JS or CSS before minification and actually allows re-use of the same file accross multiple pages/ requests @cembtw. so no, having a static post/page-id based naming would not possible without a major re-write which I think would not be an improvement as each page would then have it’s own optimized CSS/ JS, even if the contents would be identical from the one on the next page.

    hope this clarifies,
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘Change Generated Filenames’ is closed to new replies.