infrasonic
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Not Caching according to PageSpeed InsightsThank you so much for the help, I finally found the solution.
I have to enable enable the mod_headers module in apache with the following command:
sudo a2enmod headersThen I added the code snippets give by you into .htaccess and pagespeed insights is showing that all the images are being cached properly. Thank you so much!
Forum: Plugins
In reply to: [LiteSpeed Cache] Not Caching according to PageSpeed InsightsI’ve tried the code above and I’m still getting Internal Server Error.
I also tried wrapping the public,max-age… like below with quotes and it still didn’t work.
Could it be a problem with the Digital Ocean one-click wordpress install?<FilesMatch "\.(css|gif|ico|jpeg|jpg|js|png|webp|woff|woff2|fon|fot|ttf)$"> Header set Cache-control "public, max-age=15552000" </FilesMatch>Forum: Plugins
In reply to: [LiteSpeed Cache] Not Caching according to PageSpeed InsightsIs there a specific location the code needs to go in .htaccess?
I added it on the first line and it’s giving me Internal Server Error when I try to open my website. It’s working again now when I commented out the 3 lines added.
Here’s a screenshot of the code I’ve added to the first line
- This reply was modified 5 years, 10 months ago by infrasonic.
Forum: Plugins
In reply to: [LiteSpeed Cache] Not Caching according to PageSpeed InsightsThanks so much for helping be solve this problem. I’ve went over and change the apache2 config to this:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>Rebooted the server and tried analyzing it again on pagespeed insights but it is still showing “22 resources found” not being cached.
I am not sure if this helps with the problem, I have previously installed AutoOptimize to deal with the render blocking resources. I deactivated it and it’s showing “70 resources found”, I guess Autooptimize compiled many of the resources into one but still isn’t caching properly. It stays at 70 too when I tried activating or deactivating LiteSpeed Cache.
The website is installed on Digital Ocean droplet.
The “Instant Click” function is also not working, I guess the plugin is caching some of the things but not everything. When “Instant Click” is enabled, some of the image gets loaded but some of the image never gets loaded at all.
- This reply was modified 5 years, 10 months ago by infrasonic.
- This reply was modified 5 years, 10 months ago by infrasonic.
- This reply was modified 5 years, 10 months ago by infrasonic.
Forum: Plugins
In reply to: [LiteSpeed Cache] Not Caching according to PageSpeed InsightsHere’s my report number, thanks for taking a look
Report number: JOYHJMYF
Report date: 08/05/2020 06:31:59