Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author    Topic »  

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 02/01/2023 :  04:38:31  
Stuck with a cached version? Simply view the page source, click on the link to your CSS file(s) and hit refresh then refresh your page. By manually refreshing the actually CSS file, it will replace any cache version you have.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

atlend
Advanced Member

USA
330 Posts

Posted - 12/02/2024 :  21:48:47  
I like to do it like this in PHP where it is using the file time as a variable that changes each time is it modified. Automagically different each time:

<link rel="stylesheet" type="text/css" href="/css/ect.css?<?= date('U',filemtime('css/ect.css')) ?>">

Phil
ECT Moderator

United Kingdom
7702 Posts

Posted - 12/03/2024 :  02:10:50  

dbdave
ECT Moderator

USA
10451 Posts

Posted - 12/03/2024 :  09:34:38  
I also cover this (including Peter's php version) in this thread

https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=114969

But, I have also used Marshall's suggestion.
In the end, we want to be sure if a customer visits the site, they are getting the latest changes, so I like the versioning.

Thanks,
David
     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.01 seconds. Snitz Forums 2000