Want more timely Centmin Mod News Updates?
Become a Member

CSS JS Google caches CSS/JS files for a very long time

Discussion in 'Web Development & Web Performance' started by eva2000, Oct 23, 2018.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    37,726
    8,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,713
    Local Time:
    3:53 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    According to Seroundtable.com, Google caches CSS and Javascript files for a very long time so if you use CSS/JS to render a page for new content or what new URLs are created, it may affect your SEO if Google has problems rendering your pages.

    Seems very problematic as alot of sites rely on CSS/JS to structure and build out a HTML web page. CSS can be used to hide certain HTML for certain viewports for different devices/screen sizes etc.
     
    • Informative Informative x 1
  2. deltahf

    deltahf Premium Member Premium Member

    304
    137
    43
    Jun 8, 2014
    Ratings:
    +221
    Local Time:
    12:53 PM
    Very interesting. I always update a timestamp on my CSS and JS and this would help prevent these issues.
     
..