Changes made to template.css take 10 minutes to show on site

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
starky2013
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Dec 17, 2013 11:28 am

Changes made to template.css take 10 minutes to show on site

Post by starky2013 » Tue Dec 17, 2013 11:37 am

Hi there,

I have spent hours trying to find a solution to cause my website to load the most recent update to my template.css file. At the moment, any change that i make to the css file takes 10 or so minute to actually show, even after i have refreshed the website multiple times. Is there a way to force the css file to load fresh every time i refresh the page. I need it to reflect the changes instantly as i am still developing it, and having to wait minutes to see one change is frustrating. Does anyone have any suggestions?

Regards,
Daniel

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24985
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Changes made to template.css take 10 minutes to show on

Post by pe7er » Tue Dec 17, 2013 12:09 pm

Welcome to Joomla forum!

Some hosting companies use server cache to increase the speed of your website.
And you might override that temporary for checking your css by adding some code to .htaccess
Check your hosting documentation or ask your hosting company....
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

starky2013
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Dec 17, 2013 11:28 am

Re: Changes made to template.css take 10 minutes to show on

Post by starky2013 » Wed Dec 18, 2013 4:53 am

Do you know what code i would need to add to the .htaccess file to make this work?

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24985
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Changes made to template.css take 10 minutes to show on

Post by pe7er » Wed Dec 18, 2013 7:59 am

starky2013 wrote:Do you know what code i would need to add to the .htaccess file to make this work?
No, every hosting company has it's own server setup & method to override server caching (if they have any).
You'd better ask your hosting company...
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

starky2013
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Dec 17, 2013 11:28 am

Re: Changes made to template.css take 10 minutes to show on

Post by starky2013 » Wed Dec 18, 2013 8:15 am

Cool, thanks for the help. Following up my hosting provider now :)
Merry Christmas

starky2013
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Dec 17, 2013 11:28 am

Re: Changes made to template.css take 10 minutes to show on

Post by starky2013 » Wed Dec 18, 2013 10:01 am

My host said that they've applied a server cache to all of their servers and cannot disable it for individual users. Frustrating. Any other suggestions? Do I just change hosting provider?


Locked

Return to “Templates for Joomla! 3.x”