Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Weird Image Caching Problem Rate Topic   - - - - -

 

Posted 25 September 2020 - 11:48 AM #1

Hello, I'm facing a really weird problem. I wanted to upload some social icons but the resolution of 96x96 was a little too big. I modified the files to be 46x46 but the pictures didn't change. I even deleted and cleared cache from browser and site also and the photos are still appearing on the page. Does anyone know what could be the problem?



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11807 posts

Posted 25 September 2020 - 04:28 PM #2

If you are using a CDN, you might have to be patient for the files to propagate.  It wasn't clear from your description that you manually cleared your cache by removing the var/cache folder.  If not, you should do so since cs-cart won't provide any error info on clearing via the product.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21065 posts

Posted 28 September 2020 - 04:54 AM #3

Please provide us with the URL where this image can be checked


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 

Posted 28 September 2020 - 12:27 PM #4

If you are using a CDN, you might have to be patient for the files to propagate.  It wasn't clear from your description that you manually cleared your cache by removing the var/cache folder.  If not, you should do so since cs-cart won't provide any error info on clearing via the product.

Not using a CDN and yes, I've tried clearing the cache folder manually too. No results :\
 

 

Please provide us with the URL where this image can be checked

I'll send you a link in the PM as the site isn't released yet

Edit: it seems I cannot send you a PM :\ Anywhere I can send a message?

 

Edit 2: Forgot to mention that the pictures are completely deleted. So they certainly shouldn't appear when linking to their "old" path



 

Posted 28 September 2020 - 01:44 PM #5

Oke, so after deleting the var/cache folder AND using a new browser the pictures finally disappeared. It's weird because I also deleted the cache from the browser. Why are the images so persistent?



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11807 posts

Posted 28 September 2020 - 03:42 PM #6

Oke, so after deleting the var/cache folder AND using a new browser the pictures finally disappeared. It's weird because I also deleted the cache from the browser. Why are the images so persistent?

 

If that's the case is is most likely due to bad ownerships of the files in your site.  You should have your hosting verifiy owner/group needed for the PHP process to add/modify/delete files/folers within your site.  This can be done via the following command as root using SSH where [USER] and [GROUP] are the specific user and group names applicable to your server.

# cd [root directory of your site]
# chown -R [USER}:[GROUP] * .[a-z]*

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21065 posts

Posted 29 September 2020 - 04:08 AM #7

Oke, so after deleting the var/cache folder AND using a new browser the pictures finally disappeared. It's weird because I also deleted the cache from the browser. Why are the images so persistent?

 

May be some kind of static data cache is enabled on your hosting. It can cause such strange things


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)