Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

CSS in var/cache - why?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-26-2012, 07:29 AM
 
mcpilot mcpilot is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: Cincinnati
Posts: 68
 

Default CSS in var/cache - why?

Just installed 4.4.5 w/ the Artistictunes-business template which I am about to start customizing.

However, using firebug all of the CSS links point to the var/cache folder.

Why is this? Any ideas? Temp setup site is here:

http://208.84.152.25/~polybagt/ (WFS)
__________________
thebookfarminc.com
Version 4.7.0
Reply With Quote
  #2  
Old 02-26-2012, 08:00 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: CSS in var/cache - why?

All templates are cached before being displayed to the browser. What Smarty does is mix the PHP and the html from the templates together, and stores them in the cache.

The two CSS files that are affecting your site are
/skin/common_files/css/main.css
and
/skin/%YOURTEMPLATE%/css/altskin.css
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
mcpilot (02-26-2012)
  #3  
Old 02-26-2012, 08:50 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: CSS in var/cache - why?

Quote:
Originally Posted by mcpilot
Just installed 4.4.5 w/ the Artistictunes-business template which I am about to start customizing.

However, using firebug all of the CSS links point to the var/cache folder.

Why is this? Any ideas? Temp setup site is here:

http://208.84.152.25/~polybagt/ (WFS)

Turn off Speedup Tools for js and css from admin general setting. Then they won't be cached so you can see exactly the file names and location. Once done customizing you can turn it back on
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
mcpilot (02-26-2012)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:58 AM.

   

 
X-Cart forums © 2001-2020