+  HandyCache форум
|-+  Главная категория» English forum» Cache all files from selected domain.
Имя пользователя:
Пароль:
Страниц: [1]   Вниз
  Отправить эту тему    Печать  
Автор Тема: Cache all files from selected domain.  (Прочитано 4836 раз)
0 Пользователей и 1 Гость смотрят эту тему.
pankaj17939
Новичок
*

Репутация: +0/-0
Offline Offline

Сообщений: 43


« : 07 ноября 2012, 09:34:34 »

I am using ProxHTTPSProxy.exe to cache https to http data from google
Some url are not getting cached as their is no image extension in the file name

http://lh3.googleusercontent.com/-eT3Be4eRD30/T7gSlrAFcRE/AAAAAAAAACU/gRbAKoeHuHw/s0-d/ScrapbookPhotos
http://lh4.googleusercontent.com/-6OZLHdwBXPA/UJnC56Mb69I/AAAAAAAAtGM/Y1chDvaPigY/w497-h373/12%2B-%2B1
http://lh5.googleusercontent.com/-zqCl8JH6eHs/UJnpSUqy6HI/AAAAAAAANsI/0mRhpn5Fde4/w497-h373/2012-11-06
http://lh6.googleusercontent.com/-6K8XBFLQqvU/UJk9ivCF5KE/AAAAAAAAJbI/va34SjJDLl0/s0-d/2012110604

A ) Can we cache all files from particular domain
B ) can lua file will able to cache such url which have improper file name for image data
Сообщить модератору   Записан
mai62
Автор HC
*****

Репутация: +226/-4
Offline Offline

Сообщений: 6383


« Ответ #1 : 07 ноября 2012, 10:43:31 »

Try set options Cache/Control/Ignore no-cache and Ignore no-store.
Сообщить модератору   Записан
pankaj17939
Новичок
*

Репутация: +0/-0
Offline Offline

Сообщений: 43


« Ответ #2 : 07 ноября 2012, 11:39:43 »

Other images are getting cached (image extension jpg png gif )
both the option are set still on
Looking for the way to cache files which have no extension
Сообщить модератору   Записан
reges007
Новичок
*

Репутация: +0/-0
Offline Offline

Сообщений: 29


« Ответ #3 : 07 ноября 2012, 12:24:52 »

Other images are getting cached (image extension jpg png gif )
both the option are set still on
Looking for the way to cache files which have no extension


just using rules save to chace  .*
#4#~#True#~#.*#~##~#

or specific host
#4#~#True#~#googleusercontent.com#~##~#

Сообщить модератору   Записан
DenZzz
Модератор
*****

Репутация: +179/-11
Offline Offline

Сообщений: 5589



« Ответ #4 : 08 ноября 2012, 00:13:33 »

B ) can lua file will able to cache such url which have improper file name for image data

You can write an extension to cache images by the Content-Type field in the response headers received from the servers.
See  eA_Dont_update_image_by_type.lua  for example.
Сообщить модератору   Записан
pankaj17939
Новичок
*

Репутация: +0/-0
Offline Offline

Сообщений: 43


« Ответ #5 : 08 ноября 2012, 13:14:42 »

Thanks reges007
Thanks DenZzz I am not versatile with Lua language if ready-made script is available, then that is OK
 
Сообщить модератору   Записан
Страниц: [1]   Вверх
  Отправить эту тему    Печать  

 
Перейти в: