Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: css versioning

css versioning 05 Jan 2021 20:53 #59241

  • Janbol
  • Janbol's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hello Cedrick,

I think it would be very handy to have automatic “versioning” for css files in TC.

Problem: I regularly modify CSS rules or add code to e.g. the custom.css in templates made with TC. In order to apply the new rules I have at least to refresh a page or in a stubborn browser case, delete all the cache via a keyboard combination. That might be o.k. when preparing a site locally, but once in production, I can not expect every returning visitor to do the same and flush his cache when I change some rules. Because browsers nowadays rely heavily on cache, some will never get to see the results of a “changed” css. Furthermore, some “outside” cache systems can prevent to reflect changes.

As a solution I append “?and-some-things-like-a-number” to “custom.css” in the index.php file of the template after a change, but this is cumbersome, especially when you have to do it regularly in some cases. Although it works fine, it’s not practical.

I see others use versioning, why not TC?

Thanks for listening,
Jan

Please Log in or Create an account to join the conversation.

css versioning 08 Jan 2021 09:00 #59260

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24045
  • Karma: 427
  • Thank you received: 3016
Hi
thanks for the idea, I will check that and let you know
CEd
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

css versioning 21 Jan 2021 18:55 #59337

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24045
  • Karma: 427
  • Thank you received: 3016
Hi
just to be clear with you, you are talking about editing the custom css. Are you doing that into Template Creator CK, or directly in the file ?
because I can add some versioning into Template Creator CK that changes each time you update the template, but it won't work if you are working directly in the custom css file
CEd
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.180 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 875 guests and no members online