Site News

  • Site Performance - Schedule

    Let me just preface this with the fact that a lot of my updates are going to start with the phrase "OK.... So I am an idiot".

     

    This one is no exception, and it should be implied.

     

    I have cloned the Calendar page, and created a separate page called Schedule.  The Schedule page will now be the default page for the site.  It looks exactly like the Calendar, with a few exceptions :

    1 - There is no way to change the date.  It will show the current week or day if you are on the mobile site.  You can still switch between day and week.  This is because.... 

    2 -  The Schedule page now only loads the shows from 7 days before and after the current date.  Not every damn show we have ever added to the site.

     

    The original Calendar page still looks and functions the same way it used to.  The problem was that for the initial view of the Volumaniacs site, it loaded into memory, and added to the Calendar, every damn show from the beginning of time.  Even though it only showed the current week by default, it still had to load them.  

    That means as time went on, and more shows were added, it got progressively bigger and bigger.

    THAT means it also got progressively slower and slower.

    Once I realized WTF was going on, I knew what to do to fix it.

    So the menu now shows Schedule, and as a Sub-Menu item, you can go back and look at the full Calendar to see all history and upcoming shows.

Views