peppezic Posted November 10, 2023 Share Posted November 10, 2023 Hi there, I'm using Prestashop 1.7.8 on a shared Siteground hosting. SiteGround offers the dynamic cache feature, a caching system for non-static resources which impeed non-necessary DB queries and many other optimizations. Unfortunately with the standard PS 1.7.8 installation I was experiencing some problems: - images both on category listing and product pages was stuck in loading - the PS webservice which I use with shipping courier's labeling software was not showing the orders - mostly all the website dynamic resources was not loaded properly To overcome the problem I googled and found a solution by entire disabling the dynamic cache through the htaccess adding the line:Header set Cache-Control "private" <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> <FilesMatch "\.pdf$"> Header set Content-Disposition "Attachment" Header set X-Content-Type-Options "nosniff" </FilesMatch> Header set Cache-Control "private" </IfModule> There's any way to optimize my htaccess in order to disable the dynamic cache only for the resources truly "cacheble"? Do you have any experience in configuring Prestashop for dynamic cache feature? Kind regards. Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 11, 2023 Share Posted November 11, 2023 You could check module like https://addons.prestashop.com/en/website-performance/44977-super-speed-incredibly-fast-webp-cache-seo.html They are quite good with caching options. Link to comment Share on other sites More sharing options...
RMK_Code Posted November 11, 2023 Share Posted November 11, 2023 Il y a 4 heures, ComGrafPL a dit : You could check module like https://addons.prestashop.com/en/website-performance/44977-super-speed-incredibly-fast-webp-cache-seo.html They are quite good with caching options. I use this module. Really good! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now