WHat is the purpose of doing admin.php?cc - it does not clear cache

WHat is the purpose of doing admin.php?cc - it does not clear cache


  1. i did mydomain.com/admin.php?cc to clear chache


  2. Immediately I went to var/cache to look at folder


  3. Nothing is cleared



    So whats the point of doing admin.php?cc if it does not actually clear anything?

Works for me.

[quote name=‘badmaash’]WHat is the purpose of doing admin.php?cc - it does not clear cache


  1. i did mydomain.com/admin.php?cc to clear chache


  2. Immediately I went to var/cache to look at folder


  3. Nothing is cleared



    So whats the point of doing admin.php?cc if it does not actually clear anything?[/quote]


[quote name=‘Tool Outfitters’]Works for me.[/quote]



that url won’t work

it needs to have ‘dispatch=’ in the url somewhere (click on ‘view orders’)

Thanks Jesse, so what s the correct url to clear cache?



Is it mydomain.com/admin.php?dispatch=cc



or



mydomain.com/admin.php?ccdispatch=



Thanks



I just tried and they do not work, whats the correct url to clear chache…thx

[quote name=‘badmaash’]Thanks Jesse, so what s the correct url to clear cache?



Is it mydomain.com/admin.php?dispatch=cc



or



mydomain.com/admin.php?ccdispatch=



Thanks[/QUOTE]



xhttps://www.xxx.co.uk/somefile.php?dispatch=settings.manage



add &cc to the end…



xhttps://www.xxx.co.uk/somefile.php?dispatch=settings.manage&cc

[quote name=‘BarryH’]xhttps://www.xxx.co.uk/somefile.php?dispatch=settings.manage



add &cc to the end…



xhttps://www.xxx.co.uk/somefile.php?dispatch=settings.manage&cc[/QUOTE]



does not work…



i did mydomain.com/index.php?dispatch=settings.manage&cc this gives 404



I did mydomain.com/admin.php?dispatch=settings.manage&cc this does npothing



Anym more ideas?



I am on 2.0.15 btw



Thx

This is for setting up a cron… to clear the cache every hour… since adding product and payment page slows down…

Badmash,



This is the link I use to clear my compiled folder (cache)


https://www.my-domain.com/my-admin-name.php?dispatch=categories.manage&cc



If you are looking to set up a cron job, this is what I did and it works great:









Hope that helps.



Brandon

[quote name=‘badmaash’]This is for setting up a cron… to clear the cache every hour… since adding product and payment page slows down…[/quote]



Nope.



http://domain.com/admin.php?[B]dispatch[/B]=orders.manage[B]&cc[/B]




it clears /var/compiled/*



My suggestion to you is to delete /var/cache/ and /var/compiled/ to be 100% certain.



J.

[quote name=‘JesseLeeStringer’]that url won’t work

it needs to have ‘dispatch=’ in the url somewhere (click on ‘view orders’)[/QUOTE]



Works for me. :wink:


https://www.my_domain.com/my_admin.php?cc

[quote name=‘brandonvd’]Badmash,



This is the link I use to clear my compiled folder (cache)


https://www.my-domain.com/my-admin-name.php?dispatch=categories.manage&cc



If you are looking to set up a cron job, this is what I did and it works great:









Hope that helps.





Brandon[/QUOTE]



Hi Brandon.



Talk me through setting up a “cron” for this! Please! :confused:



Be gentle!!! :oops: LOL

Barry,



I am by no means an expert on Cron Jobs. I actually had to look up what to do using Google.



I’ll try to explain what little I do know though. This is how I did it.



First, in your cPanel go to the bottom and click on the Cron Jobs link.



Then for the command enter


/bin/rm -r -f /public_html/var/compiled/customer/*



I don’t actually know what all that means, but I do know that it will delete all the files within the var/compiled/customer folder



If you have your store within a different folder than the public_html folder than you would need to include that as well



As for the settings, I just clicked on the common settings drop down. In my case I have the cron job run twice a day. If you want every hour than select Once an Hour.



After you are done just click on the Add New Cron Job button.



That’s it. Maybe someone else will chime in on here and enlighten both of us on if there is a better way to do this and if I’m actually doing this correctly.



Brandon

Brandon why do you clear the customer cashe?



I used to have a slow cart but that is all fixed in 2.0.15



The only issues I have now are when adding a product this can hang and also some customers have complained about the payment page hanging… does clearing the customer cache solve this?



Thanks



B

I’m still using 2.0.14 and it seems to help.



I’m not sure about the admin side. To me it seems to help. I know that when I’ve done certain things in the past my admin would hang for longer than I thought it should. Once I cleared the cache the admin would tick along with no hangs at all. Of course that could be my imagination, but I like to think it is true.



As for the payment page, I’d assume that clearing the customer cache would also clear the payment cache files as well.



Hope that answers something, but I doubt it does.



Brandon

[quote name=‘brandonvd’]Barry,



I am by no means an expert on Cron Jobs. I actually had to look up what to do using Google.



I’ll try to explain what little I do know though. This is how I did it.



First, in your cPanel go to the bottom and click on the Cron Jobs link.



Then for the command enter


/bin/rm -r -f /public_html/var/compiled/customer/*



I don’t actually know what all that means, but I do know that it will delete all the files within the var/compiled/customer folder



If you have your store within a different folder than the public_html folder than you would need to include that as well



As for the settings, I just clicked on the common settings drop down. In my case I have the cron job run twice a day. If you want every hour than select Once an Hour.



After you are done just click on the Add New Cron Job button.



That’s it. Maybe someone else will chime in on here and enlighten both of us on if there is a better way to do this and if I’m actually doing this correctly.



Brandon[/QUOTE]



Thanks Brandon!



I will save this one till I’m feeling really brave and once the “Bug Fix” 2.1.? is sorted!



Thanks again, much appreciate help!

That cron will work for those with permissions to run custom cron jobs on cpanel servers but be extremely careful to get the path correct. A simple typo in the path could delete most or all of your files.

Thanks guys, but clearing cache using the URL does not work for me… I have 3 installs one on a different server and it does not work… no idea why not



I am at the stage to start building up my traffic but with the hiccup of the payment page hanging and the pgae hanging after trying to add a product is making me save the marketing till later



I just do not understand how cs-cart can have a product that will hinder you from making sales… I just do not get it???



The cart cache issues have been going on for soooo long that it really is a shame… everything is great apart from the performance… I wonder about those carts that have invested alot of money into this how they managed to get their carts to work flawlessly… maybe you have to pay cs-cart and then only can you get a cart that works???

Who do you host with? what is your hosting package like? sounds more like your host than CS-Cart. No one else has this problem, that I have read.

[quote name=‘TonyK’]Who do you host with? what is your hosting package like? sounds more like your host than CS-Cart. No one else has this problem, that I have read.[/QUOTE]



How can you blame the hosting?



Two sites are with one company on a dedicated box



Another site is on another server with a different company on a dedi box



CS-cart said that it was my hosting causing the problem last time when my cart kept on crashing but they fixed the issue in 2.0.15



I totatally do not agree it is a hosting problem…



My cart does use a fair number of products features and this has known to slow the cart but my problems are only on adding aproduct and processing payment page and also clearing cache…

How can you blame cs-cart, when 4999 other stores are running just fine?



What has your server admin said? or do you not have one?



Have you looked at your logs?



Could be one of many things, including your server… start by looking at what YOU can control.