If you're having issues with cache in your cart and you need to refresh it, there are a few ways you can do so. Cache data is considered a temporary storage for any device (phone, laptop, desktop). Clearing the cache just means deleting the temporary storage, so that the next time you display a web page, everything will be downloaded anew. In this article, we'll walk you through what cache is and how to refresh it. 


Applies to Version(s): 3.7.X - 3.8.2r3 (or Current)


In this article, you will learn:

What is the Cache in my cart?

Refreshing through Cart Designer

Refreshing option in Cart Designer

Uploading a fresh Cache



What is the Cache in my cart?


There are multiple types of File Caching, but for the cart, we use Write-through Cache. A Write-through cache writes data to both the cache and storage. The advantage of this approach is that newly written data is always cached. This allows the data to be read quickly. 

Its downside is that write operations are not considered to be complete until the data is written to the cache which is located at /content/cache/ in your File Manager, or the primary storage which would be your theme and located at /content/skins/yourthemename. This causes write-through caching, which introduces a slight latency to write operations. 



Refreshing through Cart Designer


Note: Building a theme through the cache is not recommended as these steps will restore the site to the default theme and remove any changes you made. 


Now that we've learned a little bit about Cache in PinnacleCart, we can start learning about the ways we can Refresh and Reload the cache. 


The first option is simple and doable. Go to the Admin of your cart, then navigate through Design > Cart Designer and exit to refresh your cache.


cart designer


In the above picture, you would just click "Cart Designer". The picture below illustrates how to "Exit". 


exit cart designer


 
Refreshing option in Cart Designer


There is another option that will let you Refresh your Theme while you're working in the Cart Designer; this option is called Refresh Theme


refresh theme


Once you use this, the changes you have made thus far in the Cart Designer will be saved to the Cache and you'll be able to view it on the Front End of your site. 



Uploading a fresh Cache


Note: If you are unsure, you can reach out to us and we will walk you through how to perform this option.


This is a bit more advanced and will require you to have the FTP credentials for your server and a fresh copy of the files for the version of the cart. 


Once you're logged into your FTP, navigate to /httpdocs/content/ if you use Plesk, and /public_html/yourcart/content/


You will now see your current Cache folder. Do not delete, just rename it. So if you right-click the folder and select Rename, you can enter a new name. Typically the best name for this is cacheOLD


Now that you have renamed your folder, you can upload a fresh Cache directory from the downloaded package. Once this is done, Enter/Exit the Cart Designer and that will be a fresh cache of all your changes. 


FTP



Links to Related Articles


None at this time.


If you didn't get your question answered, please contact the Pinnacle Cart Support Team. To submit a ticket, go to the My Account drop-down menu at the top right of the admin area and select Support.