What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

What is the best approach to do cache invalidation for Yves assets (JS/CSS) in your opinion? How did

UKKEX8U6L
UKKEX8U6L Posts: 11 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

What is the best approach to do cache invalidation for Yves assets (JS/CSS) in your opinion? How did you implement it?

Comments

  • Alberto Reyer
    Alberto Reyer Posts: 690 ๐Ÿช - Explorer
    edited August 2019

    Cache busting, by adding a version specific hash to the file name which comes out of the build.

    I thought Spryker already does this (at least Iโ€™ve implemented it for Spryker back when I was a part of their dev team).

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
  • UL6U90C5A
    UL6U90C5A Posts: 2 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    This cache busting logic was removed from Spryker in recent versions I think

  • UKKEX8U6L
    UKKEX8U6L Posts: 11 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    We do it for ourself now