Peter here from Shopify Support!
At this time, we don't currently support leverage browser caching as this is not possible with the infrastructure of Shopify.
To provide some context, Shopify's servers are extremely fast, and typically when someone experiences a slow page load, this is due to their local internet connection, and not on the server side, which would seem to be what Google PageSpeed typically targets. That said, the .htaccess file is not accessible within Shopify, however, one of the best ways to increase your page speed is to compress large images found on your site.
There are also times that the browser caching notice on a speed test will be connected to a specific app you have installed on your store. If you do notice this, you can choose to uninstall the app should it be causing issues with your customer base. Feel free to check out our blog post here & here to learn more about how to optimize your theme!
If there's anything else I can help with please don't hesitate to reply back and I'll happily help out!
All the best,
Sorry to renew an old thread but are there any plans or solutions to allow browser caching for shopify? We paid a Shopify recommended web developer to build our website and unfortunately the main priority was to allow customers to enter their vehicle information and then filter the results to specific products they are interested in. The customer can select their vehicle, but once they click on a filter on the sidebar, it forgets what vehicle they selected and shows products for ALL vehicles. Please help...
> The customer can select their vehicle, but once they click on a filter on the sidebar, it forgets what vehicle they selected and shows products for ALL vehicles
@PattersonD This doesn't sound caching related but rather a feature (or flaw) of the user interface/code.
You might want to make a new thread - since it doesn't feel related to this one - and share an example so we've got better context.