How to refresh the cache on a cart

If you're having Caching issues in the cart and need to refresh the cache there are a few ways you can do this. Clearing the cache. Clearing the cache just means emptying it, so that the next time you display a web page everything must be downloaded anew. In this article I'll walk through what the cache is and how to refresh it. 

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

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 this approach is newly written data is always cached. This allows the data to be read quickly. The 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 slight latency into 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 the Cache in the PinnacleCart, we can start learning about the ways we can Refresh and Re-load the cache. 

The first way is very simple and easy to do. By going into the Admin of your cart, finding the Design and then Activating Cart Designer and Exiting will Refresh your Cache

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

 

Refreshing option in Cart Designer

There is another option that will let you Refresh your Theme while you're working in the Cart Designer and without Exiting. This option is called Refresh Theme

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

Uploading a fresh Cache

Note: If you don't know, or even unsure with this option you can reach out to support and we will walk you through how to achieve this option.

This last method 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 your 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. You won't want to delete this, only rename. 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 you have renamed your folder, you will want to upload a fresh Cache directory from the downloaded package. Once this is done you will want to Enter/Exit Cart Designer and that will be a fresh cache of all your changes. 

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

Was this article helpful?
0 out of 0 found this helpful